source:
trunk/minix/commands/ash/sys/cdefs.h@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 281 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | /* Replacement for something BSD has in sys/cdefs.h. */ |
2 | ||
3 | #ifndef _ASH_SYS_CDEFS | |
4 | #define _ASH_SYS_CDEFS | |
5 | ||
6 | #if __STDC__ | |
7 | #define __P(params) params | |
8 | #else | |
9 | #define __P(params) () | |
10 | #endif | |
11 | ||
12 | /* Probably in sys/types.h. */ | |
13 | typedef void (*sig_t) __P(( int )); | |
14 | ||
15 | #endif /* _ASH_SYS_CDEFS */ |
Note:
See TracBrowser
for help on using the repository browser.