Subversion Repositories shark

Rev

Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
422 giacomo 1
/* Never include this file directly.  Include <linux/compiler.h> instead.  */
2
 
3
/* These definitions are for GCC v3.x.  */
4
#include <linux/compiler-gcc.h>
5
 
6
#if __GNUC_MINOR__ >= 1
7
# define inline         __inline__ __attribute__((always_inline))
8
# define __inline__     __inline__ __attribute__((always_inline))
9
# define __inline       __inline__ __attribute__((always_inline))
10
#endif
11
 
12
#if __GNUC_MINOR__ > 0
13
# define __deprecated   __attribute__((deprecated))
14
#endif
15
 
16
#if __GNUC_MINOR__ >= 3
17
# define __attribute_used__     __attribute__((__used__))
18
#else
19
# define __attribute_used__     __attribute__((__unused__))
20
#endif
21
 
22
#define __attribute_pure__      __attribute__((pure))