summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2009-01-01 02:11:01 +0000
committerobrien <obrien@FreeBSD.org>2009-01-01 02:11:01 +0000
commitc29057c1ff0b2808f60477eaa4204d9462573c2e (patch)
treec8d0278d2a3eab9780b5d3fec0f31199eebd6df4
parent2534422535562a22d21f14b1f9b27c4aa9985c24 (diff)
downloadFreeBSD-src-c29057c1ff0b2808f60477eaa4204d9462573c2e.zip
FreeBSD-src-c29057c1ff0b2808f60477eaa4204d9462573c2e.tar.gz
style(9)
Differences from 'svn diff -x -Bbw' are trivially verifiable as only style(9).
-rw-r--r--sys/sys/imgact_elf.h12
-rw-r--r--sys/sys/link_elf.h11
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 <machine/elf.h>
#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 <sys/elf.h>
@@ -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
OpenPOWER on IntegriCloud