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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [athttpd/] [current/] [include/] [global.h] - Blame information for rev 865

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

Line No. Rev Author Line
1 786 skrzyp
#ifndef __GLOBAL_H__
2
#define __GLOBAL_H__
3
 
4
/* GLOBAL.H - RSAREF types and constants
5
 */
6
 
7
/* PROTOTYPES should be set to one if and only if the compiler supports
8
  function argument prototyping.
9
The following makes PROTOTYPES default to 0 if it has not already
10
  been defined with C compiler flags.
11
 */
12
#ifndef PROTOTYPES
13
#define PROTOTYPES 0
14
#endif
15
 
16
/* POINTER defines a generic pointer type */
17
typedef unsigned char *POINTER;
18
 
19
/* UINT2 defines a two byte word */
20
typedef unsigned short int UINT2;
21
 
22
/* UINT4 defines a four byte word */
23
typedef unsigned long int UINT4;
24
 
25
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
26
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
27
  returns an empty list.
28
 */
29
#if PROTOTYPES
30
#define PROTO_LIST(list) list
31
#else
32
#define PROTO_LIST(list) ()
33
#endif
34
 
35
#endif

powered by: WebSVN 2.1.0

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