Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.sbin / traceroute / gnuc.h
blobaadb5fa013b6d2c7bb3447927979effab91401b1
1 /* $NetBSD: gnuc.h,v 1.2 2002/07/06 21:51:49 wiz Exp $ */
3 /* @(#) Header: gnuc.h,v 1.3 95/10/09 02:47:01 leres Exp (LBL) */
5 /* inline foo */
6 #ifdef __GNUC__
7 #define inline __inline
8 #else
9 #define inline
10 #endif
13 * Handle new and old "dead" routine prototypes
15 * For example:
17 * __dead void foo(void) __attribute__((volatile));
20 #ifdef __GNUC__
21 #ifndef __dead
22 #define __dead volatile
23 #endif
24 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
25 #ifndef __attribute__
26 #define __attribute__(args)
27 #endif
28 #endif
29 #else
30 #ifndef __dead
31 #define __dead
32 #endif
33 #ifndef __attribute__
34 #define __attribute__(args)
35 #endif
36 #endif