summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 20:04:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 20:04:01 +0000
commitfb77cb0f007d25ab8a99b64eb77a2c87f0f2716b (patch)
tree1ca0d8d9ec13024a0568af5622c3aad9598e5f3f /libexec/ld.so/library.c
parentb3bbcf5fcb95fdeddc3df57ff9537e59f900a405 (diff)
various proto, ansi, and knf repair. tested on all architectures that
use it. (build may require make cleandir because of .depend balony)
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r--libexec/ld.so/library.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c
index 9d515878393..f0f11b29089 100644
--- a/libexec/ld.so/library.c
+++ b/libexec/ld.so/library.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library.c,v 1.30 2003/07/02 08:18:03 niklas Exp $ */
+/* $OpenBSD: library.c,v 1.31 2003/07/06 20:03:57 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -188,7 +188,7 @@ nohints:
match = 1;
len = _dl_strlcpy(
_dl_hint_store, lp,
- MAXPATHLEN);
+ MAXPATHLEN);
if (lp[len-1] != '/') {
_dl_hint_store[len] =
'/';
@@ -335,8 +335,6 @@ _dl_load_list_free(struct load_list *load_list)
}
}
-void _dl_run_dtors(elf_object_t *object);
-
void
_dl_unload_shlib(elf_object_t *object)
{