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 _ISCSI_H
|
||||
#define _ISCSI_H
|
||||
#ifndef _GPXE_ISCSI_H
|
||||
#define _GPXE_ISCSI_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
@@ -457,4 +457,4 @@ static inline int iscsi_error ( struct iscsi_session *iscsi ) {
|
||||
return ( iscsi->state == ISCSI_STATE_FAILED );
|
||||
}
|
||||
|
||||
#endif /* _ISCSI_H */
|
||||
#endif /* _GPXE_ISCSI_H */
|
||||
|
||||
Reference in New Issue
Block a user