commit 2e5ee701962fb518652be335509393a0602c22b7 from: Tracey Emery date: Sun Apr 21 16:12:10 2019 UTC Remove missed redundant code and include header instead commit - 2338a0c9bc08501abc405e44e6ed2ecc59cb2dc6 commit + 2e5ee701962fb518652be335509393a0602c22b7 blob - 07132f33eb37384d0cea6dac36cfb2dac209faf3 blob + 62e7e08cad54bbaa4818926d27d30f97b0fca025 --- thingsd/log.c +++ thingsd/log.c @@ -22,31 +22,12 @@ #include #include +#include + static int debug; static int verbose; const char *log_procname; -void log_init(int, int); -void log_procinit(const char *); -void log_setverbose(int); -int log_getverbose(void); -void log_warn(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); -void log_warnx(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); -void log_info(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); -void log_debug(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); -void logit(int, const char *, ...) - __attribute__((__format__ (printf, 2, 3))); -void vlog(int, const char *, va_list) - __attribute__((__format__ (printf, 2, 0))); -__dead void fatal(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); -__dead void fatalx(const char *, ...) - __attribute__((__format__ (printf, 1, 2))); - void log_init(int n_debug, int facility) {