aboutsummaryrefslogtreecommitdiff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
commit0eb88f20298d056bf09b52ec2d84d3662b8fd152 (patch)
tree0d48e9fa3e1a8d20651242fc849efd6ba9f69557 /include/dlfcn.h
parent9d51867579ac97c7da8600ce09faf79a6dad5ca6 (diff)
Implement ELF symbol versioning using GNU semantics. This code aims
to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol.
Notes
Notes: svn path=/head/; revision=153515
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 2575861ed8c4..38f21b246812 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -131,6 +131,8 @@ void dllockinit(void *_context,
void (*_lock_release)(void *_lock),
void (*_lock_destroy)(void *_lock),
void (*_context_destroy)(void *_context));
+void *dlvsym(void * __restrict, const char * __restrict,
+ const char * __restrict);
#endif /* __BSD_VISIBLE */
__END_DECLS