The branch, v3-devel has been updated via fc7c71f15b39158ac58beaa90cc9038db680b8cb (commit) from f0ee2c145fa031f91c28a69a44b7652f18eea0f0 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel - Log ----------------------------------------------------------------- commit fc7c71f15b39158ac58beaa90cc9038db680b8cb Author: Jeff Layton <[EMAIL PROTECTED]> Date: Fri Sep 12 21:21:33 2008 -0400 mount.cifs: make local versions of strlcat and strlcpy static ...to silence -Wmissing-prototypes Signed-off-by: Jeff Layton <[EMAIL PROTECTED]> ----------------------------------------------------------------------- Summary of changes: source/client/mount.cifs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index 9d2b449..3b56e5f 100644 --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -94,7 +94,7 @@ char * prefixpath = NULL; /* like strncpy but does not 0 fill the buffer and always null * terminates. bufsize is the size of the destination buffer */ -size_t strlcpy(char *d, const char *s, size_t bufsize) +static size_t strlcpy(char *d, const char *s, size_t bufsize) { size_t len = strlen(s); size_t ret = len; @@ -108,7 +108,7 @@ size_t strlcpy(char *d, const char *s, size_t bufsize) /* 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 */ -size_t strlcat(char *d, const char *s, size_t bufsize) +static size_t strlcat(char *d, const char *s, size_t bufsize) { size_t len1 = strlen(d); size_t len2 = strlen(s); -- Samba Shared Repository