OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [cdefs.h] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#ifndef _SYS_CDEFS_H
7
#define _SYS_CDEFS_H
8
 
9
/*
10
 * Note: the goal here is not compatibility to K&R C. Since we know that we
11
 * have GCC which understands ANSI C perfectly well, we make use of this.
12
 */
13
 
14
#define __P(args)       args
15
#define __PMT(args)     args
16
#define __const         const
17
#define __signed        signed
18
#define __volatile      volatile
19
#define __DOTS          , ...
20
 
21
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.