diff options
Diffstat (limited to 'usage.c')
-rw-r--r-- | usage.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -70,6 +70,11 @@ void set_error_routine(void (*routine)(const char *err, va_list params)) error_routine = routine; } +void set_warn_routine(void (*routine)(const char *warn, va_list params)) +{ + warn_routine = routine; +} + void set_die_is_recursing_routine(int (*routine)(void)) { die_is_recursing = routine; |