common: add prinf format attribute to logprint/logvprint
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
ee015abe53
commit
e100c9642b
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
void init_log(char *filename);
|
||||
void close_log();
|
||||
void logprint(const char *fmt, ...);
|
||||
void logvprint(const char *fmt, va_list args);
|
||||
void logprint(const char *fmt, ...) __attribute__((format(printf,1,2)));
|
||||
void logvprint(const char *fmt, va_list args) __attribute__((format(printf,1,0)));
|
||||
|
||||
#endif /* __COMMON_LOG_H__ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue