[PATCH 1/5] utils: resolve compiler warnings on implicit declarations

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
Thu Oct 2 21:09:06 UTC 2014


	CC       osmo-auc-gen.o
	osmo-auc-gen.c: In function 'main':
	osmo-auc-gen.c:216:3: warning: implicit declaration of function
	'time' [-Wimplicit-function-declaration]
---
 utils/osmo-auc-gen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c
index fda045a..54128ff 100644
--- a/utils/osmo-auc-gen.c
+++ b/utils/osmo-auc-gen.c
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <time.h>
 #include <getopt.h>
 #include <unistd.h>
 #include <inttypes.h>
-- 
2.0.0





More information about the OpenBSC mailing list