diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2011-12-23 15:00:37 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2011-12-23 15:00:37 +0000 |
| commit | 9c2b828f9349cea725fba683698323dcc127e526 (patch) | |
| tree | 40658575fd0f8bcef26a5fbd7bd1b307ae86757f /lib/libc/include | |
| parent | 11bda2ce56980f4f575386959401d754e8279264 (diff) | |
Notes
Diffstat (limited to 'lib/libc/include')
| -rw-r--r-- | lib/libc/include/libc_private.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index a4737fefe66f..c7284cc3afee 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -44,6 +44,17 @@ extern int __isthreaded; /* + * libc should use libc_dlopen internally, which respects a global + * flag where loading of new shared objects can be restricted. + */ +void *libc_dlopen(const char *, int); + +/* + * For dynamic linker. + */ +void _rtld_error(const char *fmt, ...); + +/* * File lock contention is difficult to diagnose without knowing * where locks were set. Allow a debug library to be built which * records the source file and line number of each lock call. |
