xref: /titanic_51/usr/src/grub/grub-0.97/netboot/osdep.h (revision a29e56d91db891741f1af9f6bbd3e3c3cac5f19b)
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