summaryrefslogtreecommitdiff
path: root/source3/msdfs/msdfs.c
diff options
context:
space:
mode:
authorShirish Kalele <kalele@samba.org>2000-03-10 23:05:53 +0000
committerShirish Kalele <kalele@samba.org>2000-03-10 23:05:53 +0000
commitf2d86add3840e2f98d57a841721d71ee8b0e5244 (patch)
tree3d5cf24dfef906987f7abe8e62e22d82fd360bb2 /source3/msdfs/msdfs.c
parent0307b23a31e23649493c4bcc21134d275c0d6293 (diff)
downloadsamba-f2d86add3840e2f98d57a841721d71ee8b0e5244.tar.gz
samba-f2d86add3840e2f98d57a841721d71ee8b0e5244.tar.bz2
samba-f2d86add3840e2f98d57a841721d71ee8b0e5244.zip
Cleaning warnings from configure.developer
(This used to be commit c48579a4fc6c17126712f3a9a9c5212063a6a24d)
Diffstat (limited to 'source3/msdfs/msdfs.c')
-rw-r--r--source3/msdfs/msdfs.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index efc5b47ad7..a78f3618cb 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -31,7 +31,7 @@ extern uint32 global_client_caps;
#define VERSION3_REFERRAL_SIZE 0x22
#define REFERRAL_HEADER_SIZE 0x08
-void create_nondfs_path(char* pathname, struct dfs_path* pdp)
+static void create_nondfs_path(char* pathname, struct dfs_path* pdp)
{
pstrcpy(pathname,pdp->volumename);
pstrcat(pathname,"\\");
@@ -40,7 +40,7 @@ void create_nondfs_path(char* pathname, struct dfs_path* pdp)
/* Parse the pathname of the form \hostname\service\volume\restofthepath
into the dfs_path structure */
-BOOL parse_dfs_path(char* pathname, struct dfs_path* pdp)
+static BOOL parse_dfs_path(char* pathname, struct dfs_path* pdp)
{
pstring pathname_local;
char* p,*temp;
@@ -246,7 +246,6 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
case 2:
{
unsigned char uni_requestedpath[1024];
- unsigned char uni_altpath[1024];
int uni_reqpathoffset1,uni_reqpathoffset2;
int uni_curroffset;
int requestedpathlen=0;
@@ -339,7 +338,6 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
case 3:
{
unsigned char uni_reqpath[1024];
- unsigned char uni_altpath[1024];
int uni_reqpathoffset1, uni_reqpathoffset2;
int uni_curroffset;
@@ -442,7 +440,7 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
#endif
/* Trivial fn that chops off upper bytes to convert unicode to dos */
-void unistr_to_dos(char* dst,uint16* src)
+void unistr_to_dos(char* dst,char* src)
{
pstring s;
int i=0;