xref: /illumos-gate/usr/src/grub/grub-0.97/netboot/osdep.h (revision 30165b7f6753bc3d48c52319bed7ec7b3ea36b3c)
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