Eliminate excess whitespace.
This commit is contained in:
@@ -38,20 +38,20 @@ struct ifreq
|
||||
{
|
||||
#define IFNAMSIZ 16
|
||||
#define IFHWADDRLEN 6
|
||||
union
|
||||
{
|
||||
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
|
||||
} ifr_ifrn;
|
||||
union
|
||||
{
|
||||
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
|
||||
} ifr_ifrn;
|
||||
|
||||
union {
|
||||
struct sockaddr ifru_addr;
|
||||
struct sockaddr ifru_broadaddr;
|
||||
struct sockaddr ifru_netmask;
|
||||
struct sockaddr ifru_hwaddr;
|
||||
short ifru_flags;
|
||||
int ifru_metric;
|
||||
int ifru_mtu;
|
||||
} ifr_ifru;
|
||||
union {
|
||||
struct sockaddr ifru_addr;
|
||||
struct sockaddr ifru_broadaddr;
|
||||
struct sockaddr ifru_netmask;
|
||||
struct sockaddr ifru_hwaddr;
|
||||
short ifru_flags;
|
||||
int ifru_metric;
|
||||
int ifru_mtu;
|
||||
} ifr_ifru;
|
||||
};
|
||||
|
||||
#define ifr_name ifr_ifrn.ifrn_name /* interface name */
|
||||
@@ -73,12 +73,12 @@ struct ifreq
|
||||
|
||||
struct ifconf
|
||||
{
|
||||
int ifc_len; /* size of buffer */
|
||||
union
|
||||
{
|
||||
caddr_t ifcu_buf;
|
||||
struct ifreq *ifcu_req;
|
||||
} ifc_ifcu;
|
||||
int ifc_len; /* size of buffer */
|
||||
union
|
||||
{
|
||||
caddr_t ifcu_buf;
|
||||
struct ifreq *ifcu_req;
|
||||
} ifc_ifcu;
|
||||
};
|
||||
#define ifc_buf ifc_ifcu.ifcu_buf /* buffer address */
|
||||
#define ifc_req ifc_ifcu.ifcu_req /* array of structures */
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/* types.h
|
||||
|
||||
Copyright 2001 Red Hat Inc.
|
||||
Copyright 2001 Red Hat Inc.
|
||||
Written by Robert Collins <rbtcollins@hotmail.com>
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
@@ -93,12 +93,12 @@ details. */
|
||||
/* API_MAJOR 0.0: Initial version. API_MINOR changes:
|
||||
1: Export cygwin32_ calls as cygwin_ as well.
|
||||
2: Export j1, jn, y1, yn.
|
||||
3: Export dll_noncygwin_dllcrt0.
|
||||
4: New socket ioctls, revamped ifconf support.
|
||||
5: Thread support/exports.
|
||||
6: Change in termios handling.
|
||||
7: Export scandir and alphasort.
|
||||
8: Export _ctype_, _sys_errlist, _sys_nerr.
|
||||
3: Export dll_noncygwin_dllcrt0.
|
||||
4: New socket ioctls, revamped ifconf support.
|
||||
5: Thread support/exports.
|
||||
6: Change in termios handling.
|
||||
7: Export scandir and alphasort.
|
||||
8: Export _ctype_, _sys_errlist, _sys_nerr.
|
||||
9: Mount-related changes, new cygwin_umount export.
|
||||
Raw device support (tape, floppies).
|
||||
10: Fast math routine support added.
|
||||
@@ -114,10 +114,10 @@ details. */
|
||||
20: regsub, inet_network
|
||||
21: incompatible change to stdio cr/lf and buffering
|
||||
22: Export cygwin_logon_user, cygwin_set_impersonation_token.
|
||||
geteuid, getegid return effective uid/gid.
|
||||
getuid, getgid return real uid/gid.
|
||||
seteuid, setegid set only effective uid/gid.
|
||||
setuid, setgid set effective and real uid/gid.
|
||||
geteuid, getegid return effective uid/gid.
|
||||
getuid, getgid return real uid/gid.
|
||||
seteuid, setegid set only effective uid/gid.
|
||||
setuid, setgid set effective and real uid/gid.
|
||||
23: Export new dll_crt0 interface and cygwin_user_data for use
|
||||
with crt0 startup code.
|
||||
24: Export poll and _poll.
|
||||
@@ -132,7 +132,7 @@ details. */
|
||||
33: Export setlogmask
|
||||
34: Separated out mount table
|
||||
35: Export drand48, erand48, jrand48, lcong48, lrand48,
|
||||
mrand48, nrand48, seed48, and srand48.
|
||||
mrand48, nrand48, seed48, and srand48.
|
||||
36: Added _cygwin_S_IEXEC, et al
|
||||
37: [f]pathconv support _PC_POSIX_PERMISSIONS and _PC_POSIX_SECURITY
|
||||
38: vscanf, vscanf_r, and random pthread functions
|
||||
|
Reference in New Issue
Block a user