diff options
author | Andreas Robinson <andr345@gmail.com> | 2009-05-21 21:04:25 +0200 |
---|---|---|
committer | Andreas Robinson <andr345@gmail.com> | 2009-05-21 21:04:25 +0200 |
commit | 32971d375158804b34113d1359c9b726e1807f03 (patch) | |
tree | d119f666051385c8d920fd64a01a8e9cb21c637f | |
parent | 5c7417c53f664375014809a1024c09e575789c61 (diff) | |
download | module-init-tools-32971d375158804b34113d1359c9b726e1807f03.tar.gz |
logging, modprobe: move errfn_t to logging.h
Signed-off-by: Andreas Robinson <andr345@gmail.com>
-rw-r--r-- | logging.h | 2 | ||||
-rw-r--r-- | modprobe.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -18,6 +18,8 @@ extern void error(const char *fmt, ...); extern void warn(const char *fmt, ...); extern void info(const char *fmt, ...); +typedef void (*errfn_t)(const char *fmt, ...); + static inline void grammar(const char *cmd, const char *filename, unsigned int line) { @@ -64,8 +64,6 @@ struct module { #define MODULE_DIR "/lib/modules" #endif -typedef void (*errfn_t)(const char *fmt, ...); - static void print_usage(const char *progname) { fprintf(stderr, |