mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 15:25:23 +03:00
Header rearrangement.
I want to get to the point where any header in include/ reflects a standard user-level header (e.g. a POSIX header), while everything that's specific to gPXE lives in include/gpxe/. Headers that reflect a Linux header (e.g. if_ether.h) should also be in include/gpxe/, with the same name as the Linux header and, preferably, the same names used for the definitions.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef _IF_ETHER_H
|
||||
#define _IF_ETHER_H
|
||||
#ifndef _GPXE_IF_ETHER_H
|
||||
#define _GPXE_IF_ETHER_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -29,4 +29,4 @@ struct ethhdr {
|
||||
uint16_t h_protocol;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#endif /* _IF_ETHER_H */
|
||||
#endif /* _GPXE_IF_ETHER_H */
|
||||
|
||||
Reference in New Issue
Block a user