new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / headers / sig_op.h
old mode 100755 (executable)
new mode 100644 (file)
index d2ce0f8..6bb81c2
@@ -1,5 +1,3 @@
-/* @(#) $Id$ */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
  *
@@ -9,21 +7,19 @@
  * Foundation
  */
 
-
-/* Functions to handle signal manipulation
- */
+/* Functions to handle signal manipulation */
 
 #ifndef __SIG_H
-
 #define __SIG_H
 
-void HandleSIG();
-void HandleSIGPIPE();
+void HandleSIG(int sig) __attribute__((noreturn));
+void HandleSIGPIPE(int sig);
 
 /* Start signal manipulation */
-void StartSIG(char *process_name);
+void StartSIG(const char *process_name) __attribute__((nonnull));
 
 /* Start signal manipulation -- function as an argument */
-void StartSIG2(char *process_name, void (*func)(int));
+void StartSIG2(const char *process_name, void (*func)(int)) __attribute__((nonnull));
 
 #endif
+