style(9) the structure definitions.
This commit is contained in:
parent
faf73940c6
commit
1792335469
@ -31,6 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tftp.h 8.1 (Berkeley) 6/2/93
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef _ARPA_TFTP_H_
|
||||
@ -50,7 +51,7 @@
|
||||
#define ACK 04 /* acknowledgement */
|
||||
#define ERROR 05 /* error code */
|
||||
|
||||
struct tftphdr {
|
||||
struct tftphdr {
|
||||
unsigned short th_opcode; /* packet type */
|
||||
union {
|
||||
unsigned short tu_block; /* block # */
|
||||
|
@ -31,6 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)disktab.h 8.1 (Berkeley) 6/2/93
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef _DISKTAB_H_
|
||||
@ -41,7 +42,7 @@
|
||||
*/
|
||||
#define DISKTAB "/etc/disktab"
|
||||
|
||||
struct disktab {
|
||||
struct disktab {
|
||||
char *d_name; /* drive name */
|
||||
char *d_type; /* drive type */
|
||||
int d_secsize; /* sector size in bytes */
|
||||
|
@ -218,7 +218,7 @@ struct ld_entry {
|
||||
* `nz_list' type of symbols.
|
||||
*/
|
||||
|
||||
struct _dynamic {
|
||||
struct _dynamic {
|
||||
int d_version; /* version # of this interface */
|
||||
struct so_debug *d_debug;
|
||||
union {
|
||||
|
@ -84,7 +84,7 @@ extern int h_errno;
|
||||
* supplied in host order, and returned in network order (suitable for
|
||||
* use in system calls).
|
||||
*/
|
||||
struct hostent {
|
||||
struct hostent {
|
||||
char *h_name; /* official name of host */
|
||||
char **h_aliases; /* alias list */
|
||||
int h_addrtype; /* host address type */
|
||||
@ -97,21 +97,21 @@ struct hostent {
|
||||
* Assumption here is that a network number
|
||||
* fits in an unsigned long -- probably a poor one.
|
||||
*/
|
||||
struct netent {
|
||||
struct netent {
|
||||
char *n_name; /* official name of net */
|
||||
char **n_aliases; /* alias list */
|
||||
int n_addrtype; /* net address type */
|
||||
unsigned long n_net; /* network # */
|
||||
};
|
||||
|
||||
struct servent {
|
||||
struct servent {
|
||||
char *s_name; /* official service name */
|
||||
char **s_aliases; /* alias list */
|
||||
int s_port; /* port # */
|
||||
char *s_proto; /* protocol to use */
|
||||
};
|
||||
|
||||
struct protoent {
|
||||
struct protoent {
|
||||
char *p_name; /* official protocol name */
|
||||
char **p_aliases; /* alias list */
|
||||
int p_proto; /* protocol # */
|
||||
|
@ -31,7 +31,7 @@
|
||||
#ifndef _MACHINE_SIGFRAME_H_
|
||||
#define _MACHINE_SIGFRAME_H_ 1
|
||||
|
||||
struct osigframe {
|
||||
struct osigframe {
|
||||
struct osigcontext sf_sc;
|
||||
osiginfo_t sf_si;
|
||||
};
|
||||
|
@ -75,7 +75,7 @@ struct osigcontext {
|
||||
* The sequence of the fields should match those in
|
||||
* mcontext_t. Keep them in sync!
|
||||
*/
|
||||
struct sigcontext {
|
||||
struct sigcontext {
|
||||
sigset_t sc_mask; /* signal mask to restore */
|
||||
long sc_onstack; /* sigstack state to restore */
|
||||
unsigned long sc_regs[32]; /* integer register set (see above) */
|
||||
|
@ -46,7 +46,7 @@
|
||||
#define _MACHINE_NPX_H_
|
||||
|
||||
/* Environment information of floating point unit */
|
||||
struct env87 {
|
||||
struct env87 {
|
||||
long en_cw; /* control word (16bits) */
|
||||
long en_sw; /* status word (16bits) */
|
||||
long en_tw; /* tag word (16bits) */
|
||||
@ -58,7 +58,7 @@ struct env87 {
|
||||
};
|
||||
|
||||
/* Contents of each floating point accumulator */
|
||||
struct fpacc87 {
|
||||
struct fpacc87 {
|
||||
#ifdef dontdef /* too unportable */
|
||||
u_long fp_mantlo; /* mantissa low (31:0) */
|
||||
u_long fp_manthi; /* mantissa high (63:32) */
|
||||
@ -70,7 +70,7 @@ struct fpacc87 {
|
||||
};
|
||||
|
||||
/* Floating point context */
|
||||
struct save87 {
|
||||
struct save87 {
|
||||
struct env87 sv_env; /* floating point control/status */
|
||||
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
|
||||
u_long sv_ex_sw; /* status word for last exception */
|
||||
|
@ -46,7 +46,7 @@
|
||||
#define _MACHINE_NPX_H_
|
||||
|
||||
/* Environment information of floating point unit */
|
||||
struct env87 {
|
||||
struct env87 {
|
||||
long en_cw; /* control word (16bits) */
|
||||
long en_sw; /* status word (16bits) */
|
||||
long en_tw; /* tag word (16bits) */
|
||||
@ -58,7 +58,7 @@ struct env87 {
|
||||
};
|
||||
|
||||
/* Contents of each floating point accumulator */
|
||||
struct fpacc87 {
|
||||
struct fpacc87 {
|
||||
#ifdef dontdef /* too unportable */
|
||||
u_long fp_mantlo; /* mantissa low (31:0) */
|
||||
u_long fp_manthi; /* mantissa high (63:32) */
|
||||
@ -70,7 +70,7 @@ struct fpacc87 {
|
||||
};
|
||||
|
||||
/* Floating point context */
|
||||
struct save87 {
|
||||
struct save87 {
|
||||
struct env87 sv_env; /* floating point control/status */
|
||||
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
|
||||
u_long sv_ex_sw; /* status word for last exception */
|
||||
|
@ -35,7 +35,7 @@
|
||||
* Signal frames, arguments passed to application signal handlers.
|
||||
*/
|
||||
|
||||
struct osigframe {
|
||||
struct osigframe {
|
||||
/*
|
||||
* The first four members may be used by applications.
|
||||
*/
|
||||
|
@ -62,7 +62,7 @@ typedef int sig_atomic_t;
|
||||
*/
|
||||
typedef unsigned int osigset_t;
|
||||
|
||||
struct osigcontext {
|
||||
struct osigcontext {
|
||||
int sc_onstack; /* sigstack state to restore */
|
||||
osigset_t sc_mask; /* signal mask to restore */
|
||||
int sc_esp; /* machine state follows: */
|
||||
@ -90,7 +90,7 @@ struct osigcontext {
|
||||
* The sequence of the fields/registers in struct sigcontext should match
|
||||
* those in mcontext_t.
|
||||
*/
|
||||
struct sigcontext {
|
||||
struct sigcontext {
|
||||
sigset_t sc_mask; /* signal mask to restore */
|
||||
int sc_onstack; /* sigstack state to restore */
|
||||
int sc_gs; /* machine state (struct trapframe): */
|
||||
|
@ -46,7 +46,7 @@
|
||||
#define _MACHINE_NPX_H_
|
||||
|
||||
/* Environment information of floating point unit */
|
||||
struct env87 {
|
||||
struct env87 {
|
||||
long en_cw; /* control word (16bits) */
|
||||
long en_sw; /* status word (16bits) */
|
||||
long en_tw; /* tag word (16bits) */
|
||||
@ -58,7 +58,7 @@ struct env87 {
|
||||
};
|
||||
|
||||
/* Contents of each floating point accumulator */
|
||||
struct fpacc87 {
|
||||
struct fpacc87 {
|
||||
#ifdef dontdef /* too unportable */
|
||||
u_long fp_mantlo; /* mantissa low (31:0) */
|
||||
u_long fp_manthi; /* mantissa high (63:32) */
|
||||
@ -70,7 +70,7 @@ struct fpacc87 {
|
||||
};
|
||||
|
||||
/* Floating point context */
|
||||
struct save87 {
|
||||
struct save87 {
|
||||
struct env87 sv_env; /* floating point control/status */
|
||||
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
|
||||
u_long sv_ex_sw; /* status word for last exception */
|
||||
|
@ -35,7 +35,7 @@
|
||||
* Signal frames, arguments passed to application signal handlers.
|
||||
*/
|
||||
|
||||
struct osigframe {
|
||||
struct osigframe {
|
||||
/*
|
||||
* The first four members may be used by applications.
|
||||
*/
|
||||
|
@ -62,7 +62,7 @@ typedef int sig_atomic_t;
|
||||
*/
|
||||
typedef unsigned int osigset_t;
|
||||
|
||||
struct osigcontext {
|
||||
struct osigcontext {
|
||||
int sc_onstack; /* sigstack state to restore */
|
||||
osigset_t sc_mask; /* signal mask to restore */
|
||||
int sc_esp; /* machine state follows: */
|
||||
@ -90,7 +90,7 @@ struct osigcontext {
|
||||
* The sequence of the fields/registers in struct sigcontext should match
|
||||
* those in mcontext_t.
|
||||
*/
|
||||
struct sigcontext {
|
||||
struct sigcontext {
|
||||
sigset_t sc_mask; /* signal mask to restore */
|
||||
int sc_onstack; /* sigstack state to restore */
|
||||
int sc_gs; /* machine state (struct trapframe): */
|
||||
|
@ -31,7 +31,7 @@
|
||||
#ifndef _MACHINE_SIGFRAME_H_
|
||||
#define _MACHINE_SIGFRAME_H_ 1
|
||||
|
||||
struct osigframe {
|
||||
struct osigframe {
|
||||
};
|
||||
|
||||
struct sigframe {
|
||||
|
@ -68,7 +68,7 @@ struct osigcontext {};
|
||||
* The sequence of the fields should match those in
|
||||
* mcontext_t. Keep them in sync!
|
||||
*/
|
||||
struct sigcontext {
|
||||
struct sigcontext {
|
||||
sigset_t sc_mask; /* signal mask to restore */
|
||||
unsigned long sc_onstack;
|
||||
unsigned long sc_flags;
|
||||
|
@ -31,7 +31,7 @@
|
||||
#ifndef _MACHINE_SIGFRAME_H_
|
||||
#define _MACHINE_SIGFRAME_H_ 1
|
||||
|
||||
struct osigframe {
|
||||
struct osigframe {
|
||||
struct osigcontext sf_sc;
|
||||
osiginfo_t sf_si;
|
||||
};
|
||||
|
@ -218,7 +218,7 @@ struct ld_entry {
|
||||
* `nz_list' type of symbols.
|
||||
*/
|
||||
|
||||
struct _dynamic {
|
||||
struct _dynamic {
|
||||
int d_version; /* version # of this interface */
|
||||
struct so_debug *d_debug;
|
||||
union {
|
||||
|
@ -218,7 +218,7 @@ struct ld_entry {
|
||||
* `nz_list' type of symbols.
|
||||
*/
|
||||
|
||||
struct _dynamic {
|
||||
struct _dynamic {
|
||||
int d_version; /* version # of this interface */
|
||||
struct so_debug *d_debug;
|
||||
union {
|
||||
|
Loading…
Reference in New Issue
Block a user