From c29057c1ff0b2808f60477eaa4204d9462573c2e Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 1 Jan 2009 02:11:01 +0000 Subject: style(9) Differences from 'svn diff -x -Bbw' are trivially verifiable as only style(9). --- sys/sys/imgact_elf.h | 12 ++++++------ sys/sys/link_elf.h | 11 +++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index ec1d638..ae4ffa5 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -29,13 +29,13 @@ */ #ifndef _SYS_IMGACT_ELF_H_ -#define _SYS_IMGACT_ELF_H_ +#define _SYS_IMGACT_ELF_H_ #include #ifdef _KERNEL -#define AUXARGS_ENTRY(pos, id, val) {suword(pos++, id); suword(pos++, val);} +#define AUXARGS_ENTRY(pos, id, val) {suword(pos++, id); suword(pos++, val);} struct thread; @@ -62,14 +62,14 @@ typedef struct { const char *interp_path; struct sysentvec *sysvec; const char *interp_newpath; - int flags; -#define BI_CAN_EXEC_DYN 0x0001 + int flags; +#define BI_CAN_EXEC_DYN 0x0001 } __ElfN(Brandinfo); __ElfType(Auxargs); __ElfType(Brandinfo); -#define MAX_BRANDS 8 +#define MAX_BRANDS 8 int __elfN(brand_inuse)(Elf_Brandinfo *entry); int __elfN(insert_brand_entry)(Elf_Brandinfo *entry); @@ -80,7 +80,7 @@ int __elfN(coredump)(struct thread *, struct vnode *, off_t); /* Machine specific function to dump per-thread information. */ void __elfN(dump_thread)(struct thread *, void *, size_t *); -extern int __elfN(fallback_brand); +int __elfN(fallback_brand); #endif /* _KERNEL */ diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h index 6e6660f..98840a5 100644 --- a/sys/sys/link_elf.h +++ b/sys/sys/link_elf.h @@ -39,7 +39,7 @@ */ #ifndef _SYS_LINK_ELF_H_ -#define _SYS_LINK_ELF_H_ +#define _SYS_LINK_ELF_H_ #include @@ -70,9 +70,9 @@ struct r_debug { void (*r_brk)(struct r_debug *, struct link_map *); /* pointer to break point */ enum { - RT_CONSISTENT, /* things are stable */ - RT_ADD, /* adding a shared library */ - RT_DELETE /* removing a shared library */ + RT_CONSISTENT, /* things are stable */ + RT_ADD, /* adding a shared library */ + RT_DELETE /* removing a shared library */ } r_state; }; @@ -90,8 +90,7 @@ struct dl_phdr_info __BEGIN_DECLS -typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, - void *); +typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, void *); extern int dl_iterate_phdr(__dl_iterate_hdr_callback, void *); __END_DECLS -- cgit v1.1