summaryrefslogtreecommitdiff
path: root/usr/src/grub/grub-0.97/netboot/osdep.h
blob: 58925fedc764f1af2b071472bfbe72fe1ed4e15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef	_OSDEP_H
#define _OSDEP_H

#define __unused __attribute__((unused))

#include "io.h"
#include "byteswap.h"
#include "latch.h"

#if defined(__sun)
typedef	unsigned long Address;
#endif

/* ANSI prototyping macro */
#ifdef	__STDC__
#  define	P(x)	x
#else
#  define	P(x)	()
#endif

#endif