[Top][All Lists]

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

[Confuse-devel] [PATCH 3/5] examples: include definition for free() to a

From: Carlo Marcelo Arenas Belon
Subject: [Confuse-devel] [PATCH 3/5] examples: include definition for free() to avoid intrinsic
Date: Sun, 30 Nov 2008 13:55:56 -0800

avoids the following warning when compiled with gcc >= 4.3

  simple.c: In function ‘main’:
  simple.c:63: warning: incompatible implicit declaration of built-in function 

Signed-off-by: Carlo Marcelo Arenas Belon <address@hidden>
 examples/simple.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/examples/simple.c b/examples/simple.c
index 166486b..2d8ee59 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -1,4 +1,5 @@
 #include <string.h>
+#include <stdlib.h>
 #include "confuse.h"
 int main(void)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]