aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common/load_elf.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-06-19 06:48:58 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-06-19 06:48:58 +0000
commit357f511a588681e916ee93382922053dee797356 (patch)
treed9a538f2d8d2cd9974734309d00037ba6793e0be /sys/boot/common/load_elf.c
parenta52dffddd2bc42266a34fd94dd81ff9bbe783fd7 (diff)
Notes
Diffstat (limited to 'sys/boot/common/load_elf.c')
-rw-r--r--sys/boot/common/load_elf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c
index 388d5a1ccfc4..e0d582188924 100644
--- a/sys/boot/common/load_elf.c
+++ b/sys/boot/common/load_elf.c
@@ -538,7 +538,8 @@ out:
static char invalid_name[] = "bad";
char *
-fake_modname(const char *name) {
+fake_modname(const char *name)
+{
char *sp, *ep;
size_t len;
@@ -565,7 +566,8 @@ fake_modname(const char *name) {
}
int
-elf_parse_modmetadata(struct preloaded_file *fp, elf_file_t ef) {
+elf_parse_modmetadata(struct preloaded_file *fp, elf_file_t ef)
+{
struct mod_metadata md;
Elf_Sym sym;
char *s, *v, **p;