summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-25 07:55:10 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-25 07:55:10 +0000
commitfc64b4c00077f5a6c307e14590adbda0f9a6bee8 (patch)
treee0895b8236a7013f9c2c523423dc3de9e7927ce6 /source3
parent25cdc523ed7b60964bf57c4745bafc74799f099b (diff)
downloadsamba-fc64b4c00077f5a6c307e14590adbda0f9a6bee8.tar.gz
samba-fc64b4c00077f5a6c307e14590adbda0f9a6bee8.tar.bz2
samba-fc64b4c00077f5a6c307e14590adbda0f9a6bee8.zip
Make these functions static, keep them out of proto.
(This used to be commit 34934d2edf0d575fae7d729fe4d8d3ab034a544f)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_recycle.c2
-rw-r--r--source3/modules/xml.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index a99a593caf..ba453bad2c 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -610,7 +610,7 @@ static int recycle_unlink(connection_struct *conn, const char *file_name)
final_name = NULL;
asprintf(&final_name, "%s/%s", temp_name, base);
ALLOC_CHECK(final_name, done);
- DEBUG(10, ("recycle.bin: recycled file name%s\n", temp_name)); /* new filename with path */
+ DEBUG(10, ("recycle.bin: recycled file name: %s\n", temp_name)); /* new filename with path */
/* check if we should delete file from recycle bin */
if (recycle_file_exist(conn, final_name)) {
diff --git a/source3/modules/xml.c b/source3/modules/xml.c
index 85b9e81b7f..1a4aeeeac0 100644
--- a/source3/modules/xml.c
+++ b/source3/modules/xml.c
@@ -47,7 +47,7 @@ static char * iota(int a) {
return tmp;
}
-BOOL parsePass(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u)
+static BOOL parsePass(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u)
{
pstring temp;
@@ -76,7 +76,7 @@ BOOL parsePass(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u)
return True;
}
-BOOL parseUser(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u)
+static BOOL parseUser(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u)
{
char *tmp;
DOM_SID sid;
@@ -245,7 +245,7 @@ typedef struct pdb_xml {
xmlNsPtr ns;
} pdb_xml;
-xmlNodePtr parseSambaXMLFile(struct pdb_xml *data)
+static xmlNodePtr parseSambaXMLFile(struct pdb_xml *data)
{
xmlNodePtr cur;