mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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.
This commit is contained in:
parent
f47e870c55
commit
fa9c948c1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93017
@ -862,12 +862,12 @@ static const int db_lengths[] = {
|
||||
|
||||
static db_addr_t
|
||||
db_disasm_esc(db_addr_t loc, int inst, int short_addr,
|
||||
int size, const char *seg);
|
||||
int size, const char *seg);
|
||||
static void db_print_address(const char *seg, int size,
|
||||
struct i_addr *addrp);
|
||||
struct i_addr *addrp);
|
||||
static db_addr_t
|
||||
db_read_address(db_addr_t loc, int short_addr,
|
||||
int regmodrm, struct i_addr *addrp);
|
||||
db_read_address(db_addr_t loc, int short_addr, int regmodrm,
|
||||
struct i_addr *addrp);
|
||||
|
||||
/*
|
||||
* Read address at location and return updated location.
|
||||
|
@ -111,8 +111,8 @@ static void decode_syscall(int, struct proc *);
|
||||
|
||||
|
||||
static char * watchtype_str(int type);
|
||||
int i386_set_watch(int watchnum, unsigned int watchaddr,
|
||||
int size, int access, struct dbreg * d);
|
||||
int i386_set_watch(int watchnum, unsigned int watchaddr, int size, int access,
|
||||
struct dbreg * d);
|
||||
int i386_clr_watch(int watchnum, struct dbreg * d);
|
||||
int db_md_set_watchpoint(db_expr_t addr, db_expr_t size);
|
||||
int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size);
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -66,12 +66,12 @@
|
||||
|
||||
|
||||
|
||||
static int i386_get_ldt (struct thread *, char *);
|
||||
static int i386_set_ldt (struct thread *, char *);
|
||||
static int i386_get_ioperm (struct thread *, char *);
|
||||
static int i386_set_ioperm (struct thread *, char *);
|
||||
static int i386_get_ldt(struct thread *, char *);
|
||||
static int i386_set_ldt(struct thread *, char *);
|
||||
static int i386_get_ioperm(struct thread *, char *);
|
||||
static int i386_set_ioperm(struct thread *, char *);
|
||||
#ifdef SMP
|
||||
static void set_user_ldt_rv (struct thread *);
|
||||
static void set_user_ldt_rv(struct thread *);
|
||||
#endif
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -862,12 +862,12 @@ static const int db_lengths[] = {
|
||||
|
||||
static db_addr_t
|
||||
db_disasm_esc(db_addr_t loc, int inst, int short_addr,
|
||||
int size, const char *seg);
|
||||
int size, const char *seg);
|
||||
static void db_print_address(const char *seg, int size,
|
||||
struct i_addr *addrp);
|
||||
struct i_addr *addrp);
|
||||
static db_addr_t
|
||||
db_read_address(db_addr_t loc, int short_addr,
|
||||
int regmodrm, struct i_addr *addrp);
|
||||
db_read_address(db_addr_t loc, int short_addr, int regmodrm,
|
||||
struct i_addr *addrp);
|
||||
|
||||
/*
|
||||
* Read address at location and return updated location.
|
||||
|
@ -111,8 +111,8 @@ static void decode_syscall(int, struct proc *);
|
||||
|
||||
|
||||
static char * watchtype_str(int type);
|
||||
int i386_set_watch(int watchnum, unsigned int watchaddr,
|
||||
int size, int access, struct dbreg * d);
|
||||
int i386_set_watch(int watchnum, unsigned int watchaddr, int size, int access,
|
||||
struct dbreg * d);
|
||||
int i386_clr_watch(int watchnum, struct dbreg * d);
|
||||
int db_md_set_watchpoint(db_expr_t addr, db_expr_t size);
|
||||
int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size);
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -66,12 +66,12 @@
|
||||
|
||||
|
||||
|
||||
static int i386_get_ldt (struct thread *, char *);
|
||||
static int i386_set_ldt (struct thread *, char *);
|
||||
static int i386_get_ioperm (struct thread *, char *);
|
||||
static int i386_set_ioperm (struct thread *, char *);
|
||||
static int i386_get_ldt(struct thread *, char *);
|
||||
static int i386_set_ldt(struct thread *, char *);
|
||||
static int i386_get_ioperm(struct thread *, char *);
|
||||
static int i386_set_ioperm(struct thread *, char *);
|
||||
#ifdef SMP
|
||||
static void set_user_ldt_rv (struct thread *);
|
||||
static void set_user_ldt_rv(struct thread *);
|
||||
#endif
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
|
@ -737,11 +737,11 @@ static io_int *io_apic_ints;
|
||||
|
||||
static int nintrs;
|
||||
|
||||
static int processor_entry (proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry (bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry (io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry (int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type (char *name);
|
||||
static int processor_entry(proc_entry_ptr entry, int cpu);
|
||||
static int bus_entry(bus_entry_ptr entry, int bus);
|
||||
static int io_apic_entry(io_apic_entry_ptr entry, int apic);
|
||||
static int int_entry(int_entry_ptr entry, int intr);
|
||||
static int lookup_bus_type(char *name);
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user