mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 00:07:27 +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:
@@ -5,7 +5,7 @@
|
||||
#include "string.h"
|
||||
#include "buffer.h"
|
||||
#include "dhcp.h" /* for dhcp_dev_id */
|
||||
#include "tables.h"
|
||||
#include <gpxe/tables.h>
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
@@ -202,7 +202,7 @@ struct device_driver {
|
||||
|
||||
#define DRIVER(_name,_type_driver,_bus_driver,_bus_info, \
|
||||
_probe,_disable) \
|
||||
static struct device_driver device_ ## _bus_info __device_driver = { \
|
||||
struct device_driver device_ ## _bus_info __device_driver = { \
|
||||
.name = _name, \
|
||||
.type_driver = &_type_driver, \
|
||||
.bus_driver = &_bus_driver, \
|
||||
|
||||
Reference in New Issue
Block a user