source:
trunk/minix/commands/ash/sys/cdefs.h@
9
| Last change on this file since 9 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 281 bytes | |
| Line | |
|---|---|
| 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.