diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-03-23 16:01:49 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-03-23 16:01:49 +0000 |
commit | ea1499bf8f914fad70301580474e7a9f5a6e5457 (patch) | |
tree | bd7beb118d2c1429655390b451bdab3ec851ab01 /sys/amd64/isa | |
parent | c17d43407fe04133a94055b0dbc7ea8965654a9f (diff) |
Fixed some style bugs in the removal of __P(()). The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
Notes
Notes:
svn path=/head/; revision=93024
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/icu.h | 4 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 40 |
2 files changed, 22 insertions, 22 deletions
diff --git a/sys/amd64/isa/icu.h b/sys/amd64/isa/icu.h index 36d532a0cb8f..b73495a963af 100644 --- a/sys/amd64/isa/icu.h +++ b/sys/amd64/isa/icu.h @@ -55,8 +55,8 @@ * DO NOT access imen directly, use INTREN()/INTRDIS(). */ -void INTREN (u_int); -void INTRDIS (u_int); +void INTREN(u_int); +void INTRDIS(u_int); #ifdef APIC_IO extern unsigned apic_imen; /* APIC interrupt mask enable */ diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 50dfb9e4cc72..43b012cecc80 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -118,20 +118,20 @@ #else /* not __GNUC__ */ -void fldcw (caddr_t addr); -void fnclex (void); -void fninit (void); -void fnsave (caddr_t addr); -void fnstcw (caddr_t addr); -void fnstsw (caddr_t addr); -void fp_divide_by_0 (void); -void frstor (caddr_t addr); +void fldcw(caddr_t addr); +void fnclex(void); +void fninit(void); +void fnsave(caddr_t addr); +void fnstcw(caddr_t addr); +void fnstsw(caddr_t addr); +void fp_divide_by_0(void); +void frstor(caddr_t addr); #ifdef CPU_ENABLE_SSE -void fxsave (caddr_t addr); -void fxrstor (caddr_t addr); +void fxsave(caddr_t addr); +void fxrstor(caddr_t addr); #endif -void start_emulating (void); -void stop_emulating (void); +void start_emulating(void); +void stop_emulating(void); #endif /* __GNUC__ */ @@ -159,17 +159,17 @@ void stop_emulating (void); typedef u_char bool_t; -static int npx_attach (device_t dev); -static void npx_identify (driver_t *driver, device_t parent); +static int npx_attach(device_t dev); +static void npx_identify(driver_t *driver, device_t parent); #ifndef SMP -static void npx_intr (void *); +static void npx_intr(void *); #endif -static int npx_probe (device_t dev); -static void fpusave (union savefpu *); -static void fpurstor (union savefpu *); +static int npx_probe(device_t dev); +static void fpusave(union savefpu *); +static void fpurstor(union savefpu *); #ifdef I586_CPU_XXX -static long timezero (const char *funcname, - void (*func)(void *buf, size_t len)); +static long timezero(const char *funcname, + void (*func)(void *buf, size_t len)); #endif /* I586_CPU */ int hw_float; /* XXX currently just alias for npx_exists */ |