xref: /original-bsd/sys/sys/cdefs.h (revision bff54947)
1 /*
2  * Copyright (c) 1988 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)cdefs.h	7.3 (Berkeley) 06/28/90
8  */
9 
10 /*
11  * This file is designed to ease the porting from standard C to ANSI C.
12  * It will eventually go away.
13  * Questions to K. Bostic.
14  */
15 
16 #if __STDC__ || c_plusplus
17 #define	CONCAT(x,y)	x ## y
18 #define	PROTOTYPE(p)	p
19 #define	STRING(x)	#x
20 #else
21 #define	const
22 #define	volatile
23 #define	signed
24 #define	CONCAT(x,y)	x/**/y
25 #define	PROTOTYPE(p)	()
26 #define	STRING(x)	"x"
27 #endif
28