From: Tom Kistner Date: Sat, 26 Mar 2011 08:46:42 +0000 (+0000) Subject: Avoid conflicting prototypes for strsignal() X-Git-Tag: exim-4_76_RC1~6^2~1^2 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/29f20a41029cc5e36a8756ad8dfda64d0ed314ce?ds=inline Avoid conflicting prototypes for strsignal() --- diff --git a/src/src/osfunctions.h b/src/src/osfunctions.h index 19b580860..a6cec0dc2 100644 --- a/src/src/osfunctions.h +++ b/src/src/osfunctions.h @@ -18,6 +18,11 @@ extern int os_getloadavg(void); extern void os_restarting_signal(int, void (*)(int)); extern void os_non_restarting_signal(int, void (*)(int)); extern const char *os_strexit(int); /* char to match os_strsignal */ + +/* When os_strsignal aliases to a system function, don't define an +additional prototype */ +#ifndef os_strsignal extern const char *os_strsignal(int); /* char to match strsignal in some OS */ +#endif /* End of osfunctions.h */