From c7c02c87ec1d0078cda52156f8b46d22db2a6333 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 23 Sep 2010 21:28:05 +0200 Subject: Use GCC_FMT_ATTR (format checking) Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- slirp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp.h b/slirp.h index a1b9572..9feba7f 100644 --- a/slirp.h +++ b/slirp.h @@ -263,7 +263,7 @@ char *index(const char *, int); long gethostid(void); #endif -void lprint(const char *, ...); +void lprint(const char *, ...) GCC_FMT_ATTR(1, 2); #ifndef _WIN32 #include -- cgit v1.1