From 1ecb55c3a8f955a62ef3b1e30baca642d52dbfd5 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Fri, 5 Dec 2014 14:20:11 +1100 Subject: Silence warning for hdata/tests/stubs.c prlog missing prototype We get the real prototype in real code from skiboot.h Signed-off-by: Stewart Smith --- hdata/test/stubs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hdata') diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c index dd71667..c7dae5f 100644 --- a/hdata/test/stubs.c +++ b/hdata/test/stubs.c @@ -17,7 +17,9 @@ #include #include -void prlog(int log_level __attribute__((unused)), char *fmt, ...) +void prlog(int log_level __attribute__((unused)), const char* fmt, ...) __attribute__((format (printf, 2, 3))); + +void prlog(int log_level __attribute__((unused)), const char* fmt, ...) { va_list ap; -- cgit v1.1