pkgsrc/devel/libnet11/patches/patch-aa
2007-02-09 23:58:23 +00:00

51 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.1 2007/02/09 23:58:24 rillig Exp $
void foo() is different from void foo(void), at least in C.
--- include/libnet/libnet-functions.h.orig 2004-03-25 19:50:48.000000000 +0100
+++ include/libnet/libnet-functions.h 2007-02-10 00:55:20.000000000 +0100
@@ -1837,7 +1837,7 @@ libnet_cq_find_by_label(char *label);
* member context.
*/
void
-libnet_cq_destroy();
+libnet_cq_destroy(void);
/**
* [Context Queue]
@@ -1859,7 +1859,7 @@ libnet_cq_destroy();
* @return the head of the context queue
*/
libnet_t *
-libnet_cq_head();
+libnet_cq_head(void);
/**
* [Context Queue]
@@ -1867,7 +1867,7 @@ libnet_cq_head();
* @return 1 if at the end of the context queue, 0 otherwise
*/
int
-libnet_cq_last();
+libnet_cq_last(void);
/**
* [Context Queue]
@@ -1875,7 +1875,7 @@ libnet_cq_last();
* @reutrn the next context from the context queue
*/
libnet_t *
-libnet_cq_next();
+libnet_cq_next(void);
/**
* [Context Queue]
@@ -1883,7 +1883,7 @@ libnet_cq_next();
* @return the number of libnet contexts currently in the queue
*/
u_int32_t
-libnet_cq_size();
+libnet_cq_size(void);
/**
* [Diagnostic]