You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/snips/files/snips-1.2-code-ordering.patch

26 lines
712 B

diff -uNr snips-1.2.ORIG/ntpmon/main.c snips-1.2/ntpmon/main.c
--- snips-1.2.ORIG/ntpmon/main.c 2008-06-27 13:08:34.000000000 +0100
+++ snips-1.2/ntpmon/main.c 2008-06-27 13:08:57.000000000 +0100
@@ -42,10 +42,6 @@
#include "event_utils.h"
#undef _MAIN_
-/* function prototypes */
-void set_functions();
-void free_device_list(struct device_info **pslist);
-
/* We keep a linked list of all the devices that we poll and store the
* various thresholds in this linked list.
*/
@@ -55,6 +51,10 @@
struct device_info *next;
} *device_info_list = NULL;
+/* function prototypes */
+void set_functions();
+void free_device_list(struct device_info **pslist);
+
int main(ac, av)
int ac;
char **av;