Remove support for obsolete 3.2.1 ABI
Change-Id: I76b4960bda41f55d9c42f8c99c5beae3424ca851
This commit is contained in:
@@ -17,13 +17,6 @@ struct dirent { /* Largest entry (8 slots) */
|
||||
char d_name[1]; /* Null terminated name */
|
||||
};
|
||||
|
||||
struct dirent_321 { /* Largest entry (8 slots) */
|
||||
u32_t d_ino; /* I-node number */
|
||||
i32_t d_off; /* Offset in directory */
|
||||
unsigned short d_reclen; /* Length of this record */
|
||||
char d_name[1]; /* Null terminated name */
|
||||
};
|
||||
|
||||
#if defined(_NETBSD_SOURCE)
|
||||
#define MAXNAMLEN 511
|
||||
#define d_fileno d_ino
|
||||
|
||||
@@ -153,14 +153,6 @@ struct flock {
|
||||
pid_t l_pid; /* process id of the locks' owner */
|
||||
};
|
||||
|
||||
struct flock_321 {
|
||||
short l_type; /* type: F_RDLCK, F_WRLCK, or F_UNLCK */
|
||||
short l_whence; /* flag for starting offset */
|
||||
i32_t l_start; /* relative offset in bytes */
|
||||
i32_t l_len; /* size; if 0, then until EOF */
|
||||
pid_t l_pid; /* process id of the locks' owner */
|
||||
};
|
||||
|
||||
#if defined(_NETBSD_SOURCE)
|
||||
/* lock operations for flock(2) */
|
||||
#define LOCK_SH F_RDLCK /* Shared lock */
|
||||
|
||||
Reference in New Issue
Block a user