summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snips/files/snips-1.2-code-ordering.patch')
-rw-r--r--net-analyzer/snips/files/snips-1.2-code-ordering.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-analyzer/snips/files/snips-1.2-code-ordering.patch b/net-analyzer/snips/files/snips-1.2-code-ordering.patch
new file mode 100644
index 000000000000..13b31dc3c0f7
--- /dev/null
+++ b/net-analyzer/snips/files/snips-1.2-code-ordering.patch
@@ -0,0 +1,25 @@
+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;