aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/sys/cdefs.h
blob: 90daac7a90058a1b304a201f965162a10b8fc37b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */

/* Written 2000 by Werner Almesberger */


#ifndef _SYS_CDEFS_H
#define _SYS_CDEFS_H

/*
 * Note: the goal here is not compatibility to K&R C. Since we know that we
 * have GCC which understands ANSI C perfectly well, we make use of this.
 */

#define __P(args)	args
#define __PMT(args)	args
#define __const		const
#define __signed	signed
#define __volatile	volatile
#define __DOTS    	, ...

#endif