diff options
author | James Peach <jpeach@samba.org> | 2006-10-18 03:26:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:32 -0500 |
commit | 322863b392dda9ba0048c5b9efd5a5a594e2e2cc (patch) | |
tree | 22234184436612c11f604ac0fee9912ad08953d8 /source3/lib | |
parent | 74bb9cb3bd71e3e8c8fbe5bd9905e475ed288dd1 (diff) | |
download | samba-322863b392dda9ba0048c5b9efd5a5a594e2e2cc.tar.gz samba-322863b392dda9ba0048c5b9efd5a5a594e2e2cc.tar.bz2 samba-322863b392dda9ba0048c5b9efd5a5a594e2e2cc.zip |
r19385: These replaced symbols should have a rep_ prefix.
(This used to be commit decdb46a3f7445d589c23e0ad554453ae79cd292)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace/dlfcn.c | 8 | ||||
-rw-r--r-- | source3/lib/replace/timegm.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/replace/dlfcn.c b/source3/lib/replace/dlfcn.c index e25ac9dfe5..22f9f8bf79 100644 --- a/source3/lib/replace/dlfcn.c +++ b/source3/lib/replace/dlfcn.c @@ -26,28 +26,28 @@ #include "replace.h" #ifndef HAVE_DLOPEN -void *dlopen(const char *name, int flags) +void *rep_dlopen(const char *name, int flags) { return NULL; } #endif #ifndef HAVE_DLSYM -void *dlsym(void *handle, const char *symbol) +void *rep_dlsym(void *handle, const char *symbol) { return NULL; } #endif #ifndef HAVE_DLERROR -char *dlerror(void) +char *rep_dlerror(void) { return "dynamic loading of objects not supported on this platform"; } #endif #ifndef HAVE_DLCLOSE -int dlclose(void *handle) +int rep_dlclose(void *handle) { return 0; } diff --git a/source3/lib/replace/timegm.c b/source3/lib/replace/timegm.c index ff90626d44..8db9bb4e09 100644 --- a/source3/lib/replace/timegm.c +++ b/source3/lib/replace/timegm.c @@ -44,7 +44,7 @@ static int is_leap(unsigned y) return (y % 4) == 0 && ((y % 100) != 0 || (y % 400) == 0); } -time_t timegm(struct tm *tm) +time_t rep_timegm(struct tm *tm) { static const unsigned ndays[2][12] ={ {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, |