diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 14:20:11 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 14:20:11 +1100 |
commit | 1ecb55c3a8f955a62ef3b1e30baca642d52dbfd5 (patch) | |
tree | a9d6ae460ba98f05135d050da581a71838596fc9 | |
parent | 1e7f32ab15d97b78bf1df5eb50ccb1bebc4f7762 (diff) | |
download | skiboot-1ecb55c3a8f955a62ef3b1e30baca642d52dbfd5.zip skiboot-1ecb55c3a8f955a62ef3b1e30baca642d52dbfd5.tar.gz skiboot-1ecb55c3a8f955a62ef3b1e30baca642d52dbfd5.tar.bz2 |
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 <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hdata/test/stubs.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdio.h> #include <stdarg.h> -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; |