diff options
author | Marty Connor | 2006-08-09 06:42:14 +0200 |
---|---|---|
committer | Marty Connor | 2006-08-09 06:42:14 +0200 |
commit | ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 (patch) | |
tree | 63a80d61dd24cd4f649a478c79f733efeb3c771d /src/include/gpxe/netdevice.h | |
parent | Make VERSION_MAJOR for gPXE be 0 (diff) | |
download | ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.gz ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.xz ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.zip |
Remove _PROTOCOL macros for gcc 3.2 compatibility
Diffstat (limited to 'src/include/gpxe/netdevice.h')
-rw-r--r-- | src/include/gpxe/netdevice.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index 60ce886d..b7ec83d9 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -176,21 +176,11 @@ struct net_device { void *priv; }; -/** - * Register a link-layer protocol - * - * @v protocol Link-layer protocol - */ -#define LL_PROTOCOL( protocol ) \ - struct ll_protocol protocol __table ( ll_protocols, 01 ) +/** Declare a link-layer protocol */ +#define __ll_protocol __table ( ll_protocols, 01 ) -/** - * Register a network-layer protocol - * - * @v protocol Network-layer protocol - */ -#define NET_PROTOCOL( protocol ) \ - struct net_protocol protocol __table ( net_protocols, 01 ) +/** Declare a network-layer protocol */ +#define __net_protocol __table ( net_protocols, 01 ) /** * Get network device name |