xref: /titanic_51/usr/src/grub/grub-0.97/netboot/osdep.h (revision 21b926adb26b0bf23fe75045ed308af582303bd0)
1 #ifndef	_OSDEP_H
2 #define _OSDEP_H
3 
4 #define __unused __attribute__((unused))
5 
6 #include "io.h"
7 #include "byteswap.h"
8 #include "latch.h"
9 
10 #if defined(__sun)
11 typedef	unsigned long Address;
12 #endif
13 
14 /* ANSI prototyping macro */
15 #ifdef	__STDC__
16 #  define	P(x)	x
17 #else
18 #  define	P(x)	()
19 #endif
20 
21 #endif
22