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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jan Engelhardt jengelh at inai.de
Sat Oct 4 09:10:21 UTC 2014


  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(+)

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>
 
-- 
2.0.0





More information about the OpenBSC mailing list