summaryrefslogtreecommitdiff
path: root/source3/torture/masktest.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-19 20:16:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:37 -0500
commit55ed1d59455566d90a03e7123fbf7a05a4bd4539 (patch)
tree050bfb7a9e5ff6b9df388dd25e009defff81fe36 /source3/torture/masktest.c
parent920e1a368504228ab3a11aa58cbf12c7c95f4fd0 (diff)
downloadsamba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.tar.gz
samba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.tar.bz2
samba-55ed1d59455566d90a03e7123fbf7a05a4bd4539.zip
r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
Diffstat (limited to 'source3/torture/masktest.c')
-rw-r--r--source3/torture/masktest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index f97fb97542..0d6c0b16f2 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -38,7 +38,7 @@ extern int optind;
extern BOOL AllowDebugChange;
/* a test fn for LANMAN mask support */
-int ms_fnmatch_lanman_core(const char *pattern, const char *string)
+static int ms_fnmatch_lanman_core(const char *pattern, const char *string)
{
const char *p = pattern, *n = string;
char c;
@@ -112,7 +112,7 @@ next:
return 0;
}
-int ms_fnmatch_lanman(const char *pattern, const char *string)
+static int ms_fnmatch_lanman(const char *pattern, const char *string)
{
if (!strpbrk(pattern, "?*<>\"")) {
if (strcmp(string,"..") == 0)
@@ -163,7 +163,7 @@ static char *reg_test(struct cli_state *cli, char *pattern, char *long_name, cha
/*****************************************************
return a connection to a server
*******************************************************/
-struct cli_state *connect_one(char *share)
+static struct cli_state *connect_one(char *share)
{
struct cli_state *c;
struct nmb_name called, calling;