diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-28 16:54:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-28 16:54:19 +0000 |
commit | 8bdb3eb3e40cede7f693a8754135a664a0072ca5 (patch) | |
tree | 293e0fdd7e6328c435d8ae2d77c23385e7fe7502 | |
parent | 05e13ba6e42f37d47b45ee722e52a78953465817 (diff) |
ARGSUSED stubs
-rw-r--r-- | lib/libc/dlfcn/dlfcn_stubs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/dlfcn/dlfcn_stubs.c b/lib/libc/dlfcn/dlfcn_stubs.c index d3898df0edb..ad5479acc81 100644 --- a/lib/libc/dlfcn/dlfcn_stubs.c +++ b/lib/libc/dlfcn/dlfcn_stubs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn_stubs.c,v 1.9 2004/10/17 20:24:06 kettenis Exp $ */ +/* $OpenBSD: dlfcn_stubs.c,v 1.10 2005/11/28 16:54:18 deraadt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -48,6 +48,7 @@ int dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *), #include <stdio.h> +/*ARGSUSED*/ void * dlopen(const char *libname, int how) { @@ -55,6 +56,7 @@ dlopen(const char *libname, int how) return NULL; } +/*ARGSUSED*/ int dlclose(void *handle) { @@ -62,6 +64,7 @@ dlclose(void *handle) return 0; } +/*ARGSUSED*/ void * dlsym(void *handle, const char *name) { @@ -69,18 +72,21 @@ dlsym(void *handle, const char *name) return NULL; } +/*ARGSUSED*/ int dlctl(void *handle, int command, void *data) { return -1; } +/*ARGSUSED*/ const char * dlerror(void) { return "Wrong dl symbols!\n"; } +/*ARGSUSED*/ int dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *), void *data) @@ -88,6 +94,7 @@ dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *), return -1; } +/*ARGSUSED*/ int dladdr(const void *addr, void *info) { |