[libnftnl PATCH] buffer: include stdarg header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes the following warnings:

buffer.c: In function 'nft_buf_put':
buffer.c:53:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
  va_start(ap, fmt);
  ^
buffer.c:56:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
  va_end(ap);
  ^

Signed-off-by: Giuseppe Longo <giuseppelng@xxxxxxxxx>
---
 src/buffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/buffer.c b/src/buffer.c
index 4fac110..d64f944 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -9,6 +9,7 @@
 
 #include <stdio.h>
 #include <stdint.h>
+#include <stdarg.h>
 #include <inttypes.h>
 #include <string.h>
 #include <buffer.h>
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux