svn commit: samba r19385 - in
branches/SAMBA_3_0/source/lib/replace: .
jpeach at samba.org
jpeach at samba.org
Wed Oct 18 03:26:58 GMT 2006
Author: jpeach
Date: 2006-10-18 03:26:58 +0000 (Wed, 18 Oct 2006)
New Revision: 19385
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19385
Log:
These replaced symbols should have a rep_ prefix.
Modified:
branches/SAMBA_3_0/source/lib/replace/dlfcn.c
branches/SAMBA_3_0/source/lib/replace/timegm.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace/dlfcn.c
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/dlfcn.c 2006-10-18 00:35:56 UTC (rev 19384)
+++ branches/SAMBA_3_0/source/lib/replace/dlfcn.c 2006-10-18 03:26:58 UTC (rev 19385)
@@ -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;
}
Modified: branches/SAMBA_3_0/source/lib/replace/timegm.c
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/timegm.c 2006-10-18 00:35:56 UTC (rev 19384)
+++ branches/SAMBA_3_0/source/lib/replace/timegm.c 2006-10-18 03:26:58 UTC (rev 19385)
@@ -44,7 +44,7 @@
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},
More information about the samba-cvs
mailing list