From 3895aecff181d0d13612fa6dacbe5115fd289176 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 17 Nov 2008 14:02:51 +0100 Subject: [PATCH] Revert "Attempt to fix bug 5778" This reverts commit ecc67001315111493738e893917c4550be7828a1. --- source/client/mount.cifs.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index 56778dd4683..8fb652be80b 100644 --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -56,10 +56,6 @@ #endif /* _SAMBA_BUILD_ */ #endif /* MOUNT_CIFS_VENDOR_SUFFIX */ -#ifdef _SAMBA_BUILD_ -#include "include/config.h" -#endif - #ifndef MS_MOVE #define MS_MOVE 8192 #endif @@ -98,8 +94,6 @@ char * prefixpath = NULL; /* like strncpy but does not 0 fill the buffer and always null * terminates. bufsize is the size of the destination buffer */ - -#ifndef HAVE_STRLCPY static size_t strlcpy(char *d, const char *s, size_t bufsize) { size_t len = strlen(s); @@ -110,13 +104,10 @@ static size_t strlcpy(char *d, const char *s, size_t bufsize) d[len] = 0; return ret; } -#endif /* like strncat but does not 0 fill the buffer and always null * terminates. bufsize is the length of the buffer, which should * be one more than the maximum resulting string length */ - -#ifndef HAVE_STRLCAT static size_t strlcat(char *d, const char *s, size_t bufsize) { size_t len1 = strlen(d); @@ -135,7 +126,6 @@ static size_t strlcat(char *d, const char *s, size_t bufsize) } return ret; } -#endif /* BB finish BB -- 2.11.4.GIT