xref: /openbmc/u-boot/include/bedbug/bedbug.h (revision 9d466f2f)
1 /* $Id$ */
2 
3 #ifndef _BEDBUG_H
4 #define _BEDBUG_H
5 
6 #ifndef NULL
7 #define NULL	0
8 #endif
9 
10 #define _USE_PROTOTYPES
11 
12 #ifndef isblank
13 #define isblank(c) isspace((int)(c))
14 #endif
15 
16 #ifndef __P
17 #if defined(_USE_PROTOTYPES) && (defined(__STDC__) || defined(__cplusplus))
18 #define __P(protos)	protos		/* full-blown ANSI C */
19 #else
20 #define __P(protos)	()		/* traditional C preprocessor */
21 #endif
22 #endif
23 
24 #endif /* _BEDBUG_H */
25 
26 
27 /*
28  * Copyright (c) 2001 William L. Pitts
29  * All rights reserved.
30  *
31  * Redistribution and use in source and binary forms are freely
32  * permitted provided that the above copyright notice and this
33  * paragraph and the following disclaimer are duplicated in all
34  * such forms.
35  *
36  * This software is provided "AS IS" and without any express or
37  * implied warranties, including, without limitation, the implied
38  * warranties of merchantability and fitness for a particular
39  * purpose.
40  */
41