diff options
author | obrien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-09-05 01:36:46 +0000 |
commit | 34ad4938d7b13071cec2b5866ff9e86958fee591 (patch) | |
tree | 5d3702b54b0b14f9bfe65adc02f757d9f356ccb4 /sys | |
parent | 2f864814fffdc5d1caeb9a8e0535608dc6be9556 (diff) | |
download | FreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.zip FreeBSD-src-34ad4938d7b13071cec2b5866ff9e86958fee591.tar.gz |
style(9) the structure definitions.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/include/sigframe.h | 2 | ||||
-rw-r--r-- | sys/alpha/include/signal.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/fpu.h | 6 | ||||
-rw-r--r-- | sys/amd64/include/npx.h | 6 | ||||
-rw-r--r-- | sys/amd64/include/sigframe.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/signal.h | 4 | ||||
-rw-r--r-- | sys/i386/include/npx.h | 6 | ||||
-rw-r--r-- | sys/i386/include/sigframe.h | 2 | ||||
-rw-r--r-- | sys/i386/include/signal.h | 4 | ||||
-rw-r--r-- | sys/ia64/include/sigframe.h | 2 | ||||
-rw-r--r-- | sys/ia64/include/signal.h | 2 | ||||
-rw-r--r-- | sys/powerpc/include/sigframe.h | 2 | ||||
-rw-r--r-- | sys/sys/link_aout.h | 2 | ||||
-rw-r--r-- | sys/sys/link_elf.h | 2 |
14 files changed, 22 insertions, 22 deletions
diff --git a/sys/alpha/include/sigframe.h b/sys/alpha/include/sigframe.h index bc445a9..4ed62f4 100644 --- a/sys/alpha/include/sigframe.h +++ b/sys/alpha/include/sigframe.h @@ -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; }; diff --git a/sys/alpha/include/signal.h b/sys/alpha/include/signal.h index 02a4bfd..4bc7b29 100644 --- a/sys/alpha/include/signal.h +++ b/sys/alpha/include/signal.h @@ -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) */ diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h index 1474f2f..67ce661 100644 --- a/sys/amd64/include/fpu.h +++ b/sys/amd64/include/fpu.h @@ -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 */ diff --git a/sys/amd64/include/npx.h b/sys/amd64/include/npx.h index 1474f2f..67ce661 100644 --- a/sys/amd64/include/npx.h +++ b/sys/amd64/include/npx.h @@ -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 */ diff --git a/sys/amd64/include/sigframe.h b/sys/amd64/include/sigframe.h index cf76453..27be404 100644 --- a/sys/amd64/include/sigframe.h +++ b/sys/amd64/include/sigframe.h @@ -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. */ diff --git a/sys/amd64/include/signal.h b/sys/amd64/include/signal.h index 1e91f60..74accc8 100644 --- a/sys/amd64/include/signal.h +++ b/sys/amd64/include/signal.h @@ -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): */ diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h index 1474f2f..67ce661 100644 --- a/sys/i386/include/npx.h +++ b/sys/i386/include/npx.h @@ -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 */ diff --git a/sys/i386/include/sigframe.h b/sys/i386/include/sigframe.h index cf76453..27be404 100644 --- a/sys/i386/include/sigframe.h +++ b/sys/i386/include/sigframe.h @@ -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. */ diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h index 1e91f60..74accc8 100644 --- a/sys/i386/include/signal.h +++ b/sys/i386/include/signal.h @@ -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): */ diff --git a/sys/ia64/include/sigframe.h b/sys/ia64/include/sigframe.h index 491ce76..b0772d7 100644 --- a/sys/ia64/include/sigframe.h +++ b/sys/ia64/include/sigframe.h @@ -31,7 +31,7 @@ #ifndef _MACHINE_SIGFRAME_H_ #define _MACHINE_SIGFRAME_H_ 1 -struct osigframe { +struct osigframe { }; struct sigframe { diff --git a/sys/ia64/include/signal.h b/sys/ia64/include/signal.h index 268836c..6fed9ae 100644 --- a/sys/ia64/include/signal.h +++ b/sys/ia64/include/signal.h @@ -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; diff --git a/sys/powerpc/include/sigframe.h b/sys/powerpc/include/sigframe.h index bc445a9..4ed62f4 100644 --- a/sys/powerpc/include/sigframe.h +++ b/sys/powerpc/include/sigframe.h @@ -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; }; diff --git a/sys/sys/link_aout.h b/sys/sys/link_aout.h index 2339aee..9d652e2 100644 --- a/sys/sys/link_aout.h +++ b/sys/sys/link_aout.h @@ -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 { diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h index 2339aee..9d652e2 100644 --- a/sys/sys/link_elf.h +++ b/sys/sys/link_elf.h @@ -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 { |