blob: 682ad6e06f808a8ac0f56e4c3863730cc3c32394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/* $NetBSD: cdefs.h,v 1.1.1.1 2001/07/21 02:51:35 gmcgarry Exp $ */
/*
* cdefs.h compatibility file to compile NetBSD with lcc 4.1
*/
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
#define __asm__(x)
#define __attribute__(x)
/*
* The rest of this is based on:
*
* NetBSD: cdefs.h,v 1.36 2000/05/27 12:22:24 kleink Exp
*/
#include <machine/cdefs.h>
#ifdef __ELF__
#include <sys/cdefs_elf.h>
#else
#include <sys/cdefs_aout.h>
#endif
#define __BEGIN_DECLS
#define __END_DECLS
#define ___STRING(x) __STRING(x)
#define ___CONCAT(x,y) __CONCAT(x,y)
#define __P(protos) protos /* full-blown ANSI C */
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#define __const const /* define reserved names to standard */
#define __signed signed
#define __volatile volatile
#define __inline /* delete GCC keyword */
#define __kprintf_attribute__(a)
#define __extension__ /* delete __extension__ if non-gcc or gcc1 */
#define __dead
#define __pure
#define __RENAME(x)
#define __GNUC_PREREQ__(x, y) 0
#ifdef __AUDIT__
#define __aconst __const
#else
#define __aconst
#endif
#if defined(_KERNEL)
#if defined(NO_KERNEL_RCSIDS)
#undef __KERNEL_RCSID
#define __KERNEL_RCSID(_n, _s) /* nothing */
#endif /* NO_KERNEL_RCSIDS */
#endif /* _KERNEL */
#endif
|