Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src weak alias removal implication: rumpuser_dl_globalsym() can ...
details: https://anonhg.NetBSD.org/src/rev/c474117cd80a
branches: trunk
changeset: 328991:c474117cd80a
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Apr 27 15:18:59 2014 +0000
description:
weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.
diffstat:
lib/librumpuser/rumpuser_dl.c | 11 ++---------
sys/rump/include/rump/rumpuser.h | 3 +--
2 files changed, 3 insertions(+), 11 deletions(-)
diffs (46 lines):
diff -r 40de14c5b55e -r c474117cd80a lib/librumpuser/rumpuser_dl.c
--- a/lib/librumpuser/rumpuser_dl.c Sun Apr 27 15:15:13 2014 +0000
+++ b/lib/librumpuser/rumpuser_dl.c Sun Apr 27 15:18:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_dl.c,v 1.28 2014/04/02 17:09:23 justin Exp $ */
+/* $NetBSD: rumpuser_dl.c,v 1.29 2014/04/27 15:19:00 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -40,7 +40,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_dl.c,v 1.28 2014/04/02 17:09:23 justin Exp $");
+__RCSID("$NetBSD: rumpuser_dl.c,v 1.29 2014/04/27 15:19:00 pooka Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -487,10 +487,3 @@
return;
}
#endif
-
-void *
-rumpuser_dl_globalsym(const char *symname)
-{
-
- return dlsym(RTLD_DEFAULT, symname);
-}
diff -r 40de14c5b55e -r c474117cd80a sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h Sun Apr 27 15:15:13 2014 +0000
+++ b/sys/rump/include/rump/rumpuser.h Sun Apr 27 15:18:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser.h,v 1.110 2014/03/16 15:30:05 pooka Exp $ */
+/* $NetBSD: rumpuser.h,v 1.111 2014/04/27 15:18:59 pooka Exp $ */
/*
* Copyright (c) 2007-2013 Antti Kantee. All Rights Reserved.
@@ -227,7 +227,6 @@
typedef int (*rump_symload_fn)(void *, uint64_t, char *, uint64_t);
typedef void (*rump_compload_fn)(const struct rump_component *);
void rumpuser_dl_bootstrap(rump_modinit_fn, rump_symload_fn, rump_compload_fn);
-void *rumpuser_dl_globalsym(const char *);
/*
* misc management
Home |
Main Index |
Thread Index |
Old Index