add SDHC support in mmc driver
[u-boot-openmoko/mini2440.git] / include / bedbug / bedbug.h
blob471215ee02371985f3c9192594a25a30625a6644
1 /* $Id$ */
3 #ifndef _BEDBUG_H
4 #define _BEDBUG_H
6 #ifndef NULL
7 #define NULL 0
8 #endif
10 #define _USE_PROTOTYPES
12 #ifndef isblank
13 #define isblank(c) isspace((int)(c))
14 #endif
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
24 #define assert( condition ) if( (condition) ) _exit(0)
26 #endif /* _BEDBUG_H */
30 * Copyright (c) 2001 William L. Pitts
31 * All rights reserved.
33 * Redistribution and use in source and binary forms are freely
34 * permitted provided that the above copyright notice and this
35 * paragraph and the following disclaimer are duplicated in all
36 * such forms.
38 * This software is provided "AS IS" and without any express or
39 * implied warranties, including, without limitation, the implied
40 * warranties of merchantability and fitness for a particular
41 * purpose.