No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / contrib / nslint-2.1a3 / lbl / gnuc.h
blobff3cf1c7377779c66a5ffd2885b723d1b2e4e607
1 /* $NetBSD$ */
3 /* @(#) Header: /proj/cvs/prod/bind9/contrib/nslint-2.1a3/lbl/gnuc.h,v 1.1 2001/12/21 04:12:05 marka Exp (LBL) */
5 /* Define __P() macro, if necessary */
6 #ifndef __P
7 #if __STDC__
8 #define __P(protos) protos
9 #else
10 #define __P(protos) ()
11 #endif
12 #endif
14 /* inline foo */
15 #ifdef __GNUC__
16 #define inline __inline
17 #else
18 #define inline
19 #endif
22 * Handle new and old "dead" routine prototypes
24 * For example:
26 * __dead void foo(void) __attribute__((volatile));
29 #ifdef __GNUC__
30 #ifndef __dead
31 #define __dead volatile
32 #endif
33 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
34 #ifndef __attribute__
35 #define __attribute__(args)
36 #endif
37 #endif
38 #else
39 #ifndef __dead
40 #define __dead
41 #endif
42 #ifndef __attribute__
43 #define __attribute__(args)
44 #endif
45 #endif