diff options
author | ats <ats@FreeBSD.org> | 1994-04-13 20:52:40 +0000 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1994-04-13 20:52:40 +0000 |
commit | a673d40f25eea594fdf53c55ba432b7014989e42 (patch) | |
tree | f4bf7372191b870d330e1c4d2e0a1a196844abe2 /libexec/rtld-aout | |
parent | a0baf1752c4ed76d459bbc8bcba4f42cb903b7d1 (diff) | |
download | FreeBSD-src-a673d40f25eea594fdf53c55ba432b7014989e42.zip FreeBSD-src-a673d40f25eea594fdf53c55ba432b7014989e42.tar.gz |
Change the private declarations from dlopen,dlclose,dlsym,dlctl
to public. These functions are also used in /usr/include/link.h,
so it looks, like they shouldn't be private.
I will ask Paul about that, if this is correct.
Diffstat (limited to 'libexec/rtld-aout')
-rw-r--r-- | libexec/rtld-aout/rtld.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c index 72ab49e..de86819 100644 --- a/libexec/rtld-aout/rtld.c +++ b/libexec/rtld-aout/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.14 1994/01/14 11:47:00 jkh Exp $ + * $Id: rtld.c,v 1.15 1994/02/13 20:42:53 jkh Exp $ */ #include <machine/vmparam.h> @@ -133,12 +133,12 @@ struct so_map *link_map_head, *main_map; struct so_map **link_map_tail = &link_map_head; struct rt_symbol *rt_symbol_head; -static void *dlopen __P((char *, int)); -static int dlclose __P((void *)); -static void *dlsym __P((void *, char *)); -static int dlctl __P((void *, int, void *)); +void *dlopen __P((char *, int)); +int dlclose __P((void *)); +void *dlsym __P((void *, char *)); +int dlctl __P((void *, int, void *)); -static struct ld_entry ld_entry = { +struct ld_entry ld_entry = { dlopen, dlclose, dlsym, dlctl }; @@ -1107,7 +1107,7 @@ static struct so_map dlmap = { }; static int dlerrno; - static void * + void * dlopen(name, mode) char *name; int mode; @@ -1148,7 +1148,7 @@ xprintf("%s: %s\n", name, strerror(errno)); return smp; } - static int + int dlclose(fd) void *fd; { @@ -1171,7 +1171,7 @@ xprintf("dlclose(%s): refcount = %d\n", smp->som_path, LM_PRIVATE(smp)->spd_refc return 0; } - static void * + void * dlsym(fd, sym) void *fd; char *sym; @@ -1198,7 +1198,7 @@ dlsym(fd, sym) return (void *)addr; } - static int + int dlctl(fd, cmd, arg) void *fd, *arg; int cmd; |