diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-06 18:45:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-06 18:45:59 +0000 |
commit | ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d (patch) | |
tree | d95e3cad75c2ea13356473618481f312156a206e /source/lib/system.c | |
parent | 5059fbbb76ffa24658a878080a36e355df4894f5 (diff) | |
download | samba-ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d.tar.gz samba-ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d.tar.xz samba-ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d.zip |
Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r-- | source/lib/system.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/lib/system.c b/source/lib/system.c index 0799a855e81..185c1daa82d 100644 --- a/source/lib/system.c +++ b/source/lib/system.c @@ -977,3 +977,12 @@ int sys_dlclose (void *handle) return 0; #endif } + +const char *sys_dlerror(void) +{ +#ifdef HAVE_LIBDL + return dlerror(); +#else + return NULL; +#endif +} |