From: Giuseppe Longo <giuseppelng@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: pablo@netfilter.org, Giuseppe Longo <giuseppelng@gmail.com>
Subject: [libnftnl PATCH] buffer: include stdarg header
Date: Thu, 20 Nov 2014 13:15:57 +0100 [thread overview]
Message-ID: <1416485757-27046-1-git-send-email-giuseppelng@gmail.com> (raw)
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@gmail.com>
---
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
next reply other threads:[~2014-11-20 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 12:15 Giuseppe Longo [this message]
2014-11-20 12:21 ` [libnftnl PATCH] buffer: include stdarg header Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416485757-27046-1-git-send-email-giuseppelng@gmail.com \
--to=giuseppelng@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).