r19385: These replaced symbols should have a rep_ prefix.
authorJames Peach <jpeach@samba.org>
Wed, 18 Oct 2006 03:26:58 +0000 (03:26 +0000)
committerJames Peach <jpeach@samba.org>
Wed, 18 Oct 2006 03:26:58 +0000 (03:26 +0000)
source/lib/replace/dlfcn.c
source/lib/replace/timegm.c

index e25ac9dfe5c9591efa6b4755088ee511e01529f3..22f9f8bf79b6dfb218a898a8aa6d58f380aded9d 100644 (file)
 #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;
 }
index ff90626d442ed6b5fe5da7488c5e331018adc8be..8db9bb4e09fa709f371212bc37a14ecf1a2472fd 100644 (file)
@@ -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},