summaryrefslogtreecommitdiffstats
path: root/source/msdfs
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-03-10 17:12:24 +0000
committerJean-François Micouleau <jfm@samba.org>2000-03-10 17:12:24 +0000
commit87da4404aba29a2ebd999886e4c06958c96d3e05 (patch)
tree5eadb7b72380b2fafa5959253584f0d7896e59f1 /source/msdfs
parente2557ae5515ce30d0341ef7785cc4380266d4c94 (diff)
downloadsamba-87da4404aba29a2ebd999886e4c06958c96d3e05.tar.gz
samba-87da4404aba29a2ebd999886e4c06958c96d3e05.tar.xz
samba-87da4404aba29a2ebd999886e4c06958c96d3e05.zip
getprinter level 0: was to short, found most of the fields, undocumented,
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F.
Diffstat (limited to 'source/msdfs')
-rw-r--r--source/msdfs/msdfs_tdb.c4
-rw-r--r--source/msdfs/parse_dfs_map.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/msdfs/msdfs_tdb.c b/source/msdfs/msdfs_tdb.c
index 6f3b150c1e5..9ea5fe66417 100644
--- a/source/msdfs/msdfs_tdb.c
+++ b/source/msdfs/msdfs_tdb.c
@@ -242,7 +242,7 @@ BOOL isDfsShare(char* svc,char* vol)
}
-void msdfs_close()
+void msdfs_close(void)
{
if(msdfs_map != NULL)
tdb_close(msdfs_map);
@@ -250,7 +250,7 @@ void msdfs_close()
msdfs_map = NULL;
}
-void msdfs_end()
+void msdfs_end(void)
{
pstring fname;
msdfs_close();
diff --git a/source/msdfs/parse_dfs_map.c b/source/msdfs/parse_dfs_map.c
index d7cc2b8725c..30bd010089f 100644
--- a/source/msdfs/parse_dfs_map.c
+++ b/source/msdfs/parse_dfs_map.c
@@ -111,7 +111,7 @@ BOOL parse_referral(char* s, struct referral* ref)
return True;
}
-void load_dfsmaps()
+void load_dfsmaps(void)
{
int i=0;
if(!lp_host_msdfs())
@@ -247,7 +247,7 @@ BOOL load_dfsmap(char* fname, int snum)
#else
/* Stub function if MS_DFS is not defined */
-void load_dfsmaps()
+void load_dfsmaps(void)
{}
#endif