X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Flog%2Flog.h;h=6f44bea0d38ac1fd9bd543676757ce47af788a64;hp=813a19e293773fd9f72ad5c8092a7498d9b65a54;hb=d29c9620cd853d9ead31075f237f53b9e6301a52;hpb=73df817d55376240d17ced8c2b6d89c4f17c4a63;ds=sidebyside diff --git a/lib/log/log.h b/lib/log/log.h index 813a19e..6f44bea 100644 --- a/lib/log/log.h +++ b/lib/log/log.h @@ -3,8 +3,9 @@ #include -void pb_log(const char *fmt, ...); +void __attribute__ ((format (printf, 1, 2))) pb_log(const char *fmt, ...); void pb_log_set_stream(FILE *stream); +FILE * pb_log_get_stream(void); void pb_log_always_flush(int state); #endif /* _LOG_H */