Avoid conflicting prototypes for strsignal()
[exim.git] / src / src / osfunctions.h
CommitLineData
0a49a7a4 1/* $Cambridge: exim/src/src/osfunctions.h,v 1.5 2009/11/16 19:50:37 nm4 Exp $ */
059ec3d9
PH
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
6
0a49a7a4 7/* Copyright (c) University of Cambridge 1995 - 2009 */
059ec3d9
PH
8/* See the file NOTICE for conditions of use and distribution. */
9
10/* Prototypes for os-specific functions. For utilities, we don't need the one
11that uses a type that isn't defined for them. */
12
13#ifndef COMPILE_UTILITY
14extern ip_address_item *os_common_find_running_interfaces(void);
15#endif
16
1ba28e2b
PP
17extern int os_getloadavg(void);
18extern void os_restarting_signal(int, void (*)(int));
19extern void os_non_restarting_signal(int, void (*)(int));
20extern const char *os_strexit(int); /* char to match os_strsignal */
29f20a41
TK
21
22/* When os_strsignal aliases to a system function, don't define an
23additional prototype */
24#ifndef os_strsignal
1ba28e2b 25extern const char *os_strsignal(int); /* char to match strsignal in some OS */
29f20a41 26#endif
059ec3d9
PH
27
28/* End of osfunctions.h */