summaryrefslogtreecommitdiff
path: root/package/samba/samba-fix-mount.cifs.patch
blob: 90bff234c9bfad5031b25ae1cce3b0c37d347cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/source/client/mount.cifs.c
+++ b/source/client/mount.cifs.c
@@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha
 	return ret;
 }
 #endif
+#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
 
 /* BB finish BB
 
@@ -178,7 +179,6 @@ static void mount_cifs_usage(void)
 	SAFE_FREE(mountpassword);
 	exit(EX_USAGE);
 }
-#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
 
 /* caller frees username if necessary */
 static char * getusername(void) {