[1/5] build: resolve compiler warning about implicit delcaration
diff mbox

Message ID 1412413825-24016-2-git-send-email-jengelh@inai.de
State Accepted
Headers show

Commit Message

Jan Engelhardt Oct. 4, 2014, 9:10 a.m. UTC
CC       msgfile_test.o
msgfile/msgfile_test.c: In function "main":
msgfile/msgfile_test.c:48:2: warning: implicit declaration of
function "talloc_free" [-Wimplicit-function-declaration]
  talloc_free(entries);
  ^
---
 tests/msgfile/msgfile_test.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/tests/msgfile/msgfile_test.c b/tests/msgfile/msgfile_test.c
index a919694..2684b6a 100644
--- a/tests/msgfile/msgfile_test.c
+++ b/tests/msgfile/msgfile_test.c
@@ -20,6 +20,7 @@ 
  */
 
 #include <osmocom/core/msgfile.h>
+#include <osmocom/core/talloc.h>
 
 #include <stdio.h>