diff options
Diffstat (limited to 'lib/log.h')
-rw-r--r-- | lib/log.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * $Id: log.h,v 1.16 2005/01/17 15:22:28 ajs Exp $ + * $Id: log.h,v 1.17 2005/01/18 22:18:59 ajs Exp $ * * Zebra logging funcions. * Copyright (C) 1997, 1998, 1999 Kunihiro Ishiguro @@ -153,8 +153,11 @@ extern const char *zlog_proto_names[]; extern const char *safe_strerror(int errnum); /* To be called when a fatal signal is caught. */ -extern void zlog_signal(int signo, const char *action, - siginfo_t *siginfo, void *program_counter); +extern void zlog_signal(int signo, const char *action +#ifdef SA_SIGINFO + , siginfo_t *siginfo, void *program_counter +#endif + ); /* Log a backtrace. */ extern void zlog_backtrace(int priority); |