summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-25 12:38:41 +0200
committerGünther Deschner <gd@samba.org>2011-10-25 17:57:25 +0200
commitef87630594d8fcd3305ad0cde8b17f330c7adfff (patch)
treed1979d77173e6c460680a0848758da1bdd485be6 /testsuite
parent242292d4deefadb14f96af46a1461fc694fad2f4 (diff)
downloadsamba-ef87630594d8fcd3305ad0cde8b17f330c7adfff.tar.gz
s3-libsmbclient: make some functions static in testsuite code.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 25 17:57:25 CEST 2011 on sn-devel-104
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/libsmbclient/src/chmod/chmod_1.c2
-rw-r--r--testsuite/libsmbclient/src/chown/chown_1.c2
-rw-r--r--testsuite/libsmbclient/src/close/close_1.c2
-rw-r--r--testsuite/libsmbclient/src/close/close_2.c2
-rw-r--r--testsuite/libsmbclient/src/closedir/closedir_1.c2
-rw-r--r--testsuite/libsmbclient/src/closedir/closedir_2.c2
-rw-r--r--testsuite/libsmbclient/src/closedir/closedir_3.c2
-rw-r--r--testsuite/libsmbclient/src/closedir/closedir_4.c2
-rw-r--r--testsuite/libsmbclient/src/creat/creat_1.c2
-rw-r--r--testsuite/libsmbclient/src/creat/creat_2.c2
-rw-r--r--testsuite/libsmbclient/src/creat/creat_3.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_1.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_2.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_3.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_4.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_5.c2
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_6.c2
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_1.c2
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_2.c2
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_3.c2
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_4.c2
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_5.c2
-rw-r--r--testsuite/libsmbclient/src/init/init_3.c2
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_1.c6
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_2.c6
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_3.c4
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_4.c4
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_5.c6
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_6.c4
-rw-r--r--testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_7.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_1.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_2.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_3.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_4.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_5.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_6.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_7.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_8.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_1.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_2.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_3.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_4.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_5.c2
-rw-r--r--testsuite/libsmbclient/src/lseekdir/lseekdir_6.c2
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_1.c2
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_2.c2
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_3.c2
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_4.c2
-rw-r--r--testsuite/libsmbclient/src/open/open_1.c2
-rw-r--r--testsuite/libsmbclient/src/open/open_2.c2
-rw-r--r--testsuite/libsmbclient/src/open/open_3.c2
-rw-r--r--testsuite/libsmbclient/src/open/open_4.c2
-rw-r--r--testsuite/libsmbclient/src/open/open_5.c2
-rw-r--r--testsuite/libsmbclient/src/open_print_job/open_print_job_1.c2
-rw-r--r--testsuite/libsmbclient/src/open_print_job/open_print_job_2.c2
-rw-r--r--testsuite/libsmbclient/src/opendir/opendir_1.c2
-rw-r--r--testsuite/libsmbclient/src/opendir/opendir_2.c2
-rw-r--r--testsuite/libsmbclient/src/opendir/opendir_3.c2
-rw-r--r--testsuite/libsmbclient/src/opendir/opendir_4.c2
-rw-r--r--testsuite/libsmbclient/src/print_file/print_file_1.c2
-rw-r--r--testsuite/libsmbclient/src/print_file/print_file_2.c2
-rw-r--r--testsuite/libsmbclient/src/print_file/print_file_3.c2
-rw-r--r--testsuite/libsmbclient/src/print_file/print_file_4.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_1.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_10.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_11.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_12.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_13.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_2.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_3.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_4.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_5.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_6.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_7.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_8.c2
-rw-r--r--testsuite/libsmbclient/src/read/read_9.c2
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_1.c2
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_2.c2
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_3.c2
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_4.c2
-rw-r--r--testsuite/libsmbclient/src/readdir/readdir_5.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_1.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_10.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_11.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_12.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_13.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_14.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_2.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_3.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_4.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_5.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_6.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_7.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_8.c2
-rw-r--r--testsuite/libsmbclient/src/rename/rename_9.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_1.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_2.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_3.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_4.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_5.c2
-rw-r--r--testsuite/libsmbclient/src/rmdir/rmdir_6.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_1.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_2.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_3.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_4.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_5.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_6.c2
-rw-r--r--testsuite/libsmbclient/src/stat/stat_k.c2
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_1.c2
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_2.c2
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_3.c2
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_4.c2
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_5.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_1.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_10.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_11.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_12.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_2.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_3.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_4.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_5.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_6.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_7.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_8.c2
-rw-r--r--testsuite/libsmbclient/src/unlink/unlink_9.c2
-rw-r--r--testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_1.c4
-rw-r--r--testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_2.c4
-rw-r--r--testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_3.c4
-rw-r--r--testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_4.c4
-rw-r--r--testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_5.c6
-rw-r--r--testsuite/libsmbclient/src/write/write_1.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_10.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_11.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_12.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_13.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_2.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_3.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_4.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_5.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_6.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_7.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_8.c2
-rw-r--r--testsuite/libsmbclient/src/write/write_9.c2
143 files changed, 159 insertions, 159 deletions
diff --git a/testsuite/libsmbclient/src/chmod/chmod_1.c b/testsuite/libsmbclient/src/chmod/chmod_1.c
index 47c86b1f809..3d46ba2a8b0 100644
--- a/testsuite/libsmbclient/src/chmod/chmod_1.c
+++ b/testsuite/libsmbclient/src/chmod/chmod_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/chown/chown_1.c b/testsuite/libsmbclient/src/chown/chown_1.c
index 47c86b1f809..3d46ba2a8b0 100644
--- a/testsuite/libsmbclient/src/chown/chown_1.c
+++ b/testsuite/libsmbclient/src/chown/chown_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/close/close_1.c b/testsuite/libsmbclient/src/close/close_1.c
index 983e627d897..182964c9d20 100644
--- a/testsuite/libsmbclient/src/close/close_1.c
+++ b/testsuite/libsmbclient/src/close/close_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/close/close_2.c b/testsuite/libsmbclient/src/close/close_2.c
index b0319e41d9d..41824e9d0fb 100644
--- a/testsuite/libsmbclient/src/close/close_2.c
+++ b/testsuite/libsmbclient/src/close/close_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/closedir/closedir_1.c b/testsuite/libsmbclient/src/closedir/closedir_1.c
index 702b92c24ab..0485bc22bec 100644
--- a/testsuite/libsmbclient/src/closedir/closedir_1.c
+++ b/testsuite/libsmbclient/src/closedir/closedir_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/closedir/closedir_2.c b/testsuite/libsmbclient/src/closedir/closedir_2.c
index 88b6e2ce7e8..cb60cf67728 100644
--- a/testsuite/libsmbclient/src/closedir/closedir_2.c
+++ b/testsuite/libsmbclient/src/closedir/closedir_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/closedir/closedir_3.c b/testsuite/libsmbclient/src/closedir/closedir_3.c
index 4fdc9c849c5..601a0180095 100644
--- a/testsuite/libsmbclient/src/closedir/closedir_3.c
+++ b/testsuite/libsmbclient/src/closedir/closedir_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/closedir/closedir_4.c b/testsuite/libsmbclient/src/closedir/closedir_4.c
index ee1d72bae39..ffb5c0e80f2 100644
--- a/testsuite/libsmbclient/src/closedir/closedir_4.c
+++ b/testsuite/libsmbclient/src/closedir/closedir_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/creat/creat_1.c b/testsuite/libsmbclient/src/creat/creat_1.c
index 9ccab002c13..1b22b6ef3a5 100644
--- a/testsuite/libsmbclient/src/creat/creat_1.c
+++ b/testsuite/libsmbclient/src/creat/creat_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/creat/creat_2.c b/testsuite/libsmbclient/src/creat/creat_2.c
index 599a1845d34..6181449e76b 100644
--- a/testsuite/libsmbclient/src/creat/creat_2.c
+++ b/testsuite/libsmbclient/src/creat/creat_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/creat/creat_3.c b/testsuite/libsmbclient/src/creat/creat_3.c
index ae27a2a1c90..f88a8df5c2b 100644
--- a/testsuite/libsmbclient/src/creat/creat_3.c
+++ b/testsuite/libsmbclient/src/creat/creat_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_1.c b/testsuite/libsmbclient/src/fstat/fstat_1.c
index fd63400869d..74d4d6fe76f 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_1.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_2.c b/testsuite/libsmbclient/src/fstat/fstat_2.c
index ea2e7e3145f..3e27541a0a6 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_2.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_3.c b/testsuite/libsmbclient/src/fstat/fstat_3.c
index 57bb3b7557d..24118ad58be 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_3.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_4.c b/testsuite/libsmbclient/src/fstat/fstat_4.c
index 57bb3b7557d..24118ad58be 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_4.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_5.c b/testsuite/libsmbclient/src/fstat/fstat_5.c
index 9ebdd602646..add089d5573 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_5.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/fstat/fstat_6.c b/testsuite/libsmbclient/src/fstat/fstat_6.c
index 8a38e5be346..d317568444b 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_6.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_1.c b/testsuite/libsmbclient/src/getdents/getdents_1.c
index 6e253f78c5c..fbbd78dfd0c 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_1.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_2.c b/testsuite/libsmbclient/src/getdents/getdents_2.c
index e7eb959a8f5..6b8ddb09059 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_2.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_3.c b/testsuite/libsmbclient/src/getdents/getdents_3.c
index cea0ae21c44..2febd26f7aa 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_3.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_4.c b/testsuite/libsmbclient/src/getdents/getdents_4.c
index 4afd3539b8e..18be3c7521d 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_4.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_5.c b/testsuite/libsmbclient/src/getdents/getdents_5.c
index 5cf7c1b9282..b641d7b859b 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_5.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/init/init_3.c b/testsuite/libsmbclient/src/init/init_3.c
index f49ed982e18..fe56911c84f 100644
--- a/testsuite/libsmbclient/src/init/init_3.c
+++ b/testsuite/libsmbclient/src/init/init_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_1.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_1.c
index 714f08fd723..ec55f2b5712 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_1.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_1.c
@@ -21,7 +21,7 @@ unsigned int g_print_size;
int call_back_flag;
int print_queue_empty;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -36,13 +36,13 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn_2(struct print_job_info *pji)
+static void print_list_fn_2(struct print_job_info *pji)
{
print_queue_empty = 0;
g_print_id = pji->id;
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
call_back_flag = 1;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_2.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_2.c
index 6d6874716cc..da899696cee 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_2.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_2.c
@@ -20,7 +20,7 @@ unsigned int g_print_size;
int print_queue_empty;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -35,13 +35,13 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn_2(struct print_job_info *pji)
+static void print_list_fn_2(struct print_job_info *pji)
{
print_queue_empty = 0;
g_print_id = pji->id;
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_3.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_3.c
index 1cb52d08941..8df52f8eeff 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_3.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_3.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_4.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_4.c
index ad207724b46..e579b07f3cb 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_4.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_4.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_5.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_5.c
index 874bc896d06..21e95bb413b 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_5.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_5.c
@@ -20,7 +20,7 @@ unsigned int g_print_size;
int print_queue_empty;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -35,13 +35,13 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn_2(struct print_job_info *pji)
+static void print_list_fn_2(struct print_job_info *pji)
{
print_queue_empty = 0;
g_print_id = pji->id;
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_6.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_6.c
index 7b691ae75ac..433e4d26dbe 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_6.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_6.c
@@ -19,7 +19,7 @@ unsigned int g_print_size;
int print_fn_call_flag;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -34,7 +34,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_7.c b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_7.c
index d25d20721b1..fce46297771 100644
--- a/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_7.c
+++ b/testsuite/libsmbclient/src/list_print_jobs/list_print_jobs_7.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/lseek/lseek_1.c b/testsuite/libsmbclient/src/lseek/lseek_1.c
index c358565d31c..2f4f8650495 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_1.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_2.c b/testsuite/libsmbclient/src/lseek/lseek_2.c
index 8b58ade0836..b4f2eba36b9 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_2.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_3.c b/testsuite/libsmbclient/src/lseek/lseek_3.c
index c8a62e682b2..158c4604f19 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_3.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_4.c b/testsuite/libsmbclient/src/lseek/lseek_4.c
index c8a62e682b2..158c4604f19 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_4.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_5.c b/testsuite/libsmbclient/src/lseek/lseek_5.c
index 2e40c96410c..66367044b39 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_5.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_6.c b/testsuite/libsmbclient/src/lseek/lseek_6.c
index b5236b8537e..68c3bfc22dd 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_6.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_7.c b/testsuite/libsmbclient/src/lseek/lseek_7.c
index e3ef6cdd544..17f172bb7be 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_7.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_7.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_8.c b/testsuite/libsmbclient/src/lseek/lseek_8.c
index e70f3ca6b55..2460a4c0679 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_8.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_8.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_1.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_1.c
index 010ca382a59..0610c21757f 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_1.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_2.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_2.c
index cb729d8642e..8cfae823562 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_2.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_3.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_3.c
index ede9cef0815..a133bb83a87 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_3.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_4.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_4.c
index 1bc9a7e45d0..8a1745d659d 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_4.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_5.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_5.c
index 86b8e342d82..12523645c66 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_5.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/lseekdir/lseekdir_6.c b/testsuite/libsmbclient/src/lseekdir/lseekdir_6.c
index 25bbc8d9bd1..94c5997c94d 100644
--- a/testsuite/libsmbclient/src/lseekdir/lseekdir_6.c
+++ b/testsuite/libsmbclient/src/lseekdir/lseekdir_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/mkdir/mkdir_1.c b/testsuite/libsmbclient/src/mkdir/mkdir_1.c
index 20389bcb9b6..07e11cb9dcc 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_1.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/mkdir/mkdir_2.c b/testsuite/libsmbclient/src/mkdir/mkdir_2.c
index ebbc94a18bb..1acd68d2201 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_2.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/mkdir/mkdir_3.c b/testsuite/libsmbclient/src/mkdir/mkdir_3.c
index e5a0ce2561f..272da51f89a 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_3.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/mkdir/mkdir_4.c b/testsuite/libsmbclient/src/mkdir/mkdir_4.c
index ed1aa70f33f..dcbd5949eb9 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_4.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open/open_1.c b/testsuite/libsmbclient/src/open/open_1.c
index 9f72985cec7..7fb107244d1 100644
--- a/testsuite/libsmbclient/src/open/open_1.c
+++ b/testsuite/libsmbclient/src/open/open_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open/open_2.c b/testsuite/libsmbclient/src/open/open_2.c
index 8903ee912b0..471b498eb93 100644
--- a/testsuite/libsmbclient/src/open/open_2.c
+++ b/testsuite/libsmbclient/src/open/open_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open/open_3.c b/testsuite/libsmbclient/src/open/open_3.c
index 25a663d6ab7..348fe6f9119 100644
--- a/testsuite/libsmbclient/src/open/open_3.c
+++ b/testsuite/libsmbclient/src/open/open_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open/open_4.c b/testsuite/libsmbclient/src/open/open_4.c
index 2bfe30f1af1..4654e6721d9 100644
--- a/testsuite/libsmbclient/src/open/open_4.c
+++ b/testsuite/libsmbclient/src/open/open_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open/open_5.c b/testsuite/libsmbclient/src/open/open_5.c
index 93ffb4891ed..84e86e02927 100644
--- a/testsuite/libsmbclient/src/open/open_5.c
+++ b/testsuite/libsmbclient/src/open/open_5.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c b/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c
index 585fdee377f..cda9326ef3a 100644
--- a/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c
+++ b/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c b/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c
index f737f19bfec..691fe2d0e18 100644
--- a/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c
+++ b/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/opendir/opendir_1.c b/testsuite/libsmbclient/src/opendir/opendir_1.c
index 1bd01b5feeb..1495e92e74b 100644
--- a/testsuite/libsmbclient/src/opendir/opendir_1.c
+++ b/testsuite/libsmbclient/src/opendir/opendir_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/opendir/opendir_2.c b/testsuite/libsmbclient/src/opendir/opendir_2.c
index 60658d2cd56..f282f42b54a 100644
--- a/testsuite/libsmbclient/src/opendir/opendir_2.c
+++ b/testsuite/libsmbclient/src/opendir/opendir_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/opendir/opendir_3.c b/testsuite/libsmbclient/src/opendir/opendir_3.c
index 3b6f28eaf34..db9e9e0aec2 100644
--- a/testsuite/libsmbclient/src/opendir/opendir_3.c
+++ b/testsuite/libsmbclient/src/opendir/opendir_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/opendir/opendir_4.c b/testsuite/libsmbclient/src/opendir/opendir_4.c
index 23b25e55063..819fca71a07 100644
--- a/testsuite/libsmbclient/src/opendir/opendir_4.c
+++ b/testsuite/libsmbclient/src/opendir/opendir_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/print_file/print_file_1.c b/testsuite/libsmbclient/src/print_file/print_file_1.c
index 19932aa3192..7722c834530 100644
--- a/testsuite/libsmbclient/src/print_file/print_file_1.c
+++ b/testsuite/libsmbclient/src/print_file/print_file_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/print_file/print_file_2.c b/testsuite/libsmbclient/src/print_file/print_file_2.c
index a569cd8fe97..29336099e86 100644
--- a/testsuite/libsmbclient/src/print_file/print_file_2.c
+++ b/testsuite/libsmbclient/src/print_file/print_file_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/print_file/print_file_3.c b/testsuite/libsmbclient/src/print_file/print_file_3.c
index 4b2a6af84f2..fcd1f51e397 100644
--- a/testsuite/libsmbclient/src/print_file/print_file_3.c
+++ b/testsuite/libsmbclient/src/print_file/print_file_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/print_file/print_file_4.c b/testsuite/libsmbclient/src/print_file/print_file_4.c
index 1650f7340df..196697e4552 100644
--- a/testsuite/libsmbclient/src/print_file/print_file_4.c
+++ b/testsuite/libsmbclient/src/print_file/print_file_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_1.c b/testsuite/libsmbclient/src/read/read_1.c
index accf0bf8721..0862d2f4ac2 100644
--- a/testsuite/libsmbclient/src/read/read_1.c
+++ b/testsuite/libsmbclient/src/read/read_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_10.c b/testsuite/libsmbclient/src/read/read_10.c
index d5b66dfe635..28653c56b86 100644
--- a/testsuite/libsmbclient/src/read/read_10.c
+++ b/testsuite/libsmbclient/src/read/read_10.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_11.c b/testsuite/libsmbclient/src/read/read_11.c
index 3f9ae3f97da..413b35d5877 100644
--- a/testsuite/libsmbclient/src/read/read_11.c
+++ b/testsuite/libsmbclient/src/read/read_11.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_12.c b/testsuite/libsmbclient/src/read/read_12.c
index 2747f62e1c8..fb540cc5a5a 100644
--- a/testsuite/libsmbclient/src/read/read_12.c
+++ b/testsuite/libsmbclient/src/read/read_12.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_13.c b/testsuite/libsmbclient/src/read/read_13.c
index 89bc68f915b..9b90e006a5c 100644
--- a/testsuite/libsmbclient/src/read/read_13.c
+++ b/testsuite/libsmbclient/src/read/read_13.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_2.c b/testsuite/libsmbclient/src/read/read_2.c
index 4b3dc9439c1..b2cc2766fb4 100644
--- a/testsuite/libsmbclient/src/read/read_2.c
+++ b/testsuite/libsmbclient/src/read/read_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_3.c b/testsuite/libsmbclient/src/read/read_3.c
index 3f4493487e7..8c252ba707a 100644
--- a/testsuite/libsmbclient/src/read/read_3.c
+++ b/testsuite/libsmbclient/src/read/read_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_4.c b/testsuite/libsmbclient/src/read/read_4.c
index dbacfa392e8..bb78c6fe840 100644
--- a/testsuite/libsmbclient/src/read/read_4.c
+++ b/testsuite/libsmbclient/src/read/read_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_5.c b/testsuite/libsmbclient/src/read/read_5.c
index 96891ef8da6..4cfca3a20fb 100644
--- a/testsuite/libsmbclient/src/read/read_5.c
+++ b/testsuite/libsmbclient/src/read/read_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_6.c b/testsuite/libsmbclient/src/read/read_6.c
index 7839a964ee4..74ba22747be 100644
--- a/testsuite/libsmbclient/src/read/read_6.c
+++ b/testsuite/libsmbclient/src/read/read_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_7.c b/testsuite/libsmbclient/src/read/read_7.c
index fa8a783d7fa..f229f8ecce1 100644
--- a/testsuite/libsmbclient/src/read/read_7.c
+++ b/testsuite/libsmbclient/src/read/read_7.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_8.c b/testsuite/libsmbclient/src/read/read_8.c
index e3f7055d3f4..db9db0daf6e 100644
--- a/testsuite/libsmbclient/src/read/read_8.c
+++ b/testsuite/libsmbclient/src/read/read_8.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/read/read_9.c b/testsuite/libsmbclient/src/read/read_9.c
index 77468317d92..7273277ab54 100644
--- a/testsuite/libsmbclient/src/read/read_9.c
+++ b/testsuite/libsmbclient/src/read/read_9.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_1.c b/testsuite/libsmbclient/src/readdir/readdir_1.c
index 5ca7e38bf8d..7b508a0968f 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_1.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_2.c b/testsuite/libsmbclient/src/readdir/readdir_2.c
index bc4f53dd859..dbc453701e8 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_2.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_3.c b/testsuite/libsmbclient/src/readdir/readdir_3.c
index 06a4c9eded1..3030b9b1176 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_3.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_4.c b/testsuite/libsmbclient/src/readdir/readdir_4.c
index 42b18aaa48b..5d893b50dd8 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_4.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/readdir/readdir_5.c b/testsuite/libsmbclient/src/readdir/readdir_5.c
index de94c4698e3..aa77c4027dd 100644
--- a/testsuite/libsmbclient/src/readdir/readdir_5.c
+++ b/testsuite/libsmbclient/src/readdir/readdir_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_1.c b/testsuite/libsmbclient/src/rename/rename_1.c
index c3e1377c293..707ccffcf67 100644
--- a/testsuite/libsmbclient/src/rename/rename_1.c
+++ b/testsuite/libsmbclient/src/rename/rename_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_10.c b/testsuite/libsmbclient/src/rename/rename_10.c
index 01fb144c593..3953cb1d395 100644
--- a/testsuite/libsmbclient/src/rename/rename_10.c
+++ b/testsuite/libsmbclient/src/rename/rename_10.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_11.c b/testsuite/libsmbclient/src/rename/rename_11.c
index 0c341088026..53411970617 100644
--- a/testsuite/libsmbclient/src/rename/rename_11.c
+++ b/testsuite/libsmbclient/src/rename/rename_11.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_12.c b/testsuite/libsmbclient/src/rename/rename_12.c
index cc34e079e18..a088f66c4d4 100644
--- a/testsuite/libsmbclient/src/rename/rename_12.c
+++ b/testsuite/libsmbclient/src/rename/rename_12.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_13.c b/testsuite/libsmbclient/src/rename/rename_13.c
index 30b33499d60..073fbb6eaf2 100644
--- a/testsuite/libsmbclient/src/rename/rename_13.c
+++ b/testsuite/libsmbclient/src/rename/rename_13.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_14.c b/testsuite/libsmbclient/src/rename/rename_14.c
index 61aad34e722..dc96a9e1a99 100644
--- a/testsuite/libsmbclient/src/rename/rename_14.c
+++ b/testsuite/libsmbclient/src/rename/rename_14.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_2.c b/testsuite/libsmbclient/src/rename/rename_2.c
index b3d340348c8..ee0ad9734d4 100644
--- a/testsuite/libsmbclient/src/rename/rename_2.c
+++ b/testsuite/libsmbclient/src/rename/rename_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_3.c b/testsuite/libsmbclient/src/rename/rename_3.c
index a7508e969c8..06684a7d246 100644
--- a/testsuite/libsmbclient/src/rename/rename_3.c
+++ b/testsuite/libsmbclient/src/rename/rename_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_4.c b/testsuite/libsmbclient/src/rename/rename_4.c
index a4c26470017..46d1119f26d 100644
--- a/testsuite/libsmbclient/src/rename/rename_4.c
+++ b/testsuite/libsmbclient/src/rename/rename_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_5.c b/testsuite/libsmbclient/src/rename/rename_5.c
index 97fb8fe6830..c579f2e94e1 100644
--- a/testsuite/libsmbclient/src/rename/rename_5.c
+++ b/testsuite/libsmbclient/src/rename/rename_5.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_6.c b/testsuite/libsmbclient/src/rename/rename_6.c
index c9c349427e4..4886298fce2 100644
--- a/testsuite/libsmbclient/src/rename/rename_6.c
+++ b/testsuite/libsmbclient/src/rename/rename_6.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_7.c b/testsuite/libsmbclient/src/rename/rename_7.c
index 67188abea96..aa2cbd2485e 100644
--- a/testsuite/libsmbclient/src/rename/rename_7.c
+++ b/testsuite/libsmbclient/src/rename/rename_7.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_8.c b/testsuite/libsmbclient/src/rename/rename_8.c
index efbef5c30cd..857286a9dc9 100644
--- a/testsuite/libsmbclient/src/rename/rename_8.c
+++ b/testsuite/libsmbclient/src/rename/rename_8.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rename/rename_9.c b/testsuite/libsmbclient/src/rename/rename_9.c
index 1c1876dbb00..a868cb1b455 100644
--- a/testsuite/libsmbclient/src/rename/rename_9.c
+++ b/testsuite/libsmbclient/src/rename/rename_9.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_1.c b/testsuite/libsmbclient/src/rmdir/rmdir_1.c
index 2c64052d8be..167730847d4 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_1.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_2.c b/testsuite/libsmbclient/src/rmdir/rmdir_2.c
index 700b1d7a97f..d454d935ff9 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_2.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_3.c b/testsuite/libsmbclient/src/rmdir/rmdir_3.c
index c1b881d4d4d..23b90bd749f 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_3.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_4.c b/testsuite/libsmbclient/src/rmdir/rmdir_4.c
index a7723037256..4cec82c2769 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_4.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_5.c b/testsuite/libsmbclient/src/rmdir/rmdir_5.c
index c4f787f63bc..3133ca4fe73 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_5.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_5.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/rmdir/rmdir_6.c b/testsuite/libsmbclient/src/rmdir/rmdir_6.c
index a44e6778322..5f8079156ba 100644
--- a/testsuite/libsmbclient/src/rmdir/rmdir_6.c
+++ b/testsuite/libsmbclient/src/rmdir/rmdir_6.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_1.c b/testsuite/libsmbclient/src/stat/stat_1.c
index 08382acd74a..198d24d0166 100644
--- a/testsuite/libsmbclient/src/stat/stat_1.c
+++ b/testsuite/libsmbclient/src/stat/stat_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_2.c b/testsuite/libsmbclient/src/stat/stat_2.c
index 80ee5dd8713..7e73de194dc 100644
--- a/testsuite/libsmbclient/src/stat/stat_2.c
+++ b/testsuite/libsmbclient/src/stat/stat_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_3.c b/testsuite/libsmbclient/src/stat/stat_3.c
index 1220577a3c7..eb05ee701b9 100644
--- a/testsuite/libsmbclient/src/stat/stat_3.c
+++ b/testsuite/libsmbclient/src/stat/stat_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_4.c b/testsuite/libsmbclient/src/stat/stat_4.c
index 8bc544833e7..03a1616e702 100644
--- a/testsuite/libsmbclient/src/stat/stat_4.c
+++ b/testsuite/libsmbclient/src/stat/stat_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_5.c b/testsuite/libsmbclient/src/stat/stat_5.c
index 86028f0598a..dd550f92c9e 100644
--- a/testsuite/libsmbclient/src/stat/stat_5.c
+++ b/testsuite/libsmbclient/src/stat/stat_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_6.c b/testsuite/libsmbclient/src/stat/stat_6.c
index 071bdd0f2f0..070b9c4561f 100644
--- a/testsuite/libsmbclient/src/stat/stat_6.c
+++ b/testsuite/libsmbclient/src/stat/stat_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/stat/stat_k.c b/testsuite/libsmbclient/src/stat/stat_k.c
index 168ccae0184..8948734182a 100644
--- a/testsuite/libsmbclient/src/stat/stat_k.c
+++ b/testsuite/libsmbclient/src/stat/stat_k.c
@@ -13,7 +13,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/telldir/telldir_1.c b/testsuite/libsmbclient/src/telldir/telldir_1.c
index 725033f453c..5e6cb94bb16 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_1.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/telldir/telldir_2.c b/testsuite/libsmbclient/src/telldir/telldir_2.c
index 6971b79b0f9..45a4d158b0d 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_2.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/telldir/telldir_3.c b/testsuite/libsmbclient/src/telldir/telldir_3.c
index 06ba59538ae..67a7dc696fb 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_3.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/telldir/telldir_4.c b/testsuite/libsmbclient/src/telldir/telldir_4.c
index 14184237d76..852917456bc 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_4.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/telldir/telldir_5.c b/testsuite/libsmbclient/src/telldir/telldir_5.c
index f851e145e8d..1984ffb9b70 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_5.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_1.c b/testsuite/libsmbclient/src/unlink/unlink_1.c
index 12e9d1d0aa8..d1902eeeead 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_1.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_1.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_10.c b/testsuite/libsmbclient/src/unlink/unlink_10.c
index 58f541c69a1..f70e687e77c 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_10.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_10.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_11.c b/testsuite/libsmbclient/src/unlink/unlink_11.c
index f94b93d0482..5573131e904 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_11.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_11.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_12.c b/testsuite/libsmbclient/src/unlink/unlink_12.c
index f6082595a35..d53ac523646 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_12.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_12.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_2.c b/testsuite/libsmbclient/src/unlink/unlink_2.c
index 3980704847f..29bbbb13693 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_2.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_2.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_3.c b/testsuite/libsmbclient/src/unlink/unlink_3.c
index 551a651ae45..800823850dc 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_3.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_3.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_4.c b/testsuite/libsmbclient/src/unlink/unlink_4.c
index 309dc39639d..bd96afba34e 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_4.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_4.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_5.c b/testsuite/libsmbclient/src/unlink/unlink_5.c
index 73a8e057a6b..63de3cb7143 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_5.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_5.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_6.c b/testsuite/libsmbclient/src/unlink/unlink_6.c
index 334c3653d1f..51bafc45ae6 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_6.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_6.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_7.c b/testsuite/libsmbclient/src/unlink/unlink_7.c
index cda3c9d7b07..12419ef450d 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_7.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_7.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_8.c b/testsuite/libsmbclient/src/unlink/unlink_8.c
index 2053be3c961..71c92c1f1ff 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_8.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_8.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink/unlink_9.c b/testsuite/libsmbclient/src/unlink/unlink_9.c
index 78f9c297481..92789ac9646 100644
--- a/testsuite/libsmbclient/src/unlink/unlink_9.c
+++ b/testsuite/libsmbclient/src/unlink/unlink_9.c
@@ -11,7 +11,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_1.c b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_1.c
index b19bf228de1..e3feb214c4c 100644
--- a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_1.c
+++ b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_1.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_2.c b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_2.c
index 52f127c3629..6de6b3d0b18 100644
--- a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_2.c
+++ b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_2.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_3.c b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_3.c
index 5686b3f53ed..50c9464e00a 100644
--- a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_3.c
+++ b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_3.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_4.c b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_4.c
index 28966f8af4d..c776bdff0a1 100644
--- a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_4.c
+++ b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_4.c
@@ -18,7 +18,7 @@ unsigned int g_print_priority;
unsigned int g_print_size;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -33,7 +33,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_5.c b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_5.c
index 4fb3e30017b..b3f76a42106 100644
--- a/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_5.c
+++ b/testsuite/libsmbclient/src/unlink_print_job/unlink_print_job_5.c
@@ -21,7 +21,7 @@ unsigned int print_ids[MAX_BUFF_SIZE];
unsigned int print_id_count;
int call_flag;
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
@@ -36,7 +36,7 @@ void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxle
}
-void print_list_fn_2(struct print_job_info *pji)
+static void print_list_fn_2(struct print_job_info *pji)
{
print_ids[print_id_count] = pji->id;
@@ -47,7 +47,7 @@ void print_list_fn_2(struct print_job_info *pji)
}
-void print_list_fn(struct print_job_info *pji)
+static void print_list_fn(struct print_job_info *pji)
{
g_print_id = pji->id;
diff --git a/testsuite/libsmbclient/src/write/write_1.c b/testsuite/libsmbclient/src/write/write_1.c
index fa147f8f503..9cc80df763c 100644
--- a/testsuite/libsmbclient/src/write/write_1.c
+++ b/testsuite/libsmbclient/src/write/write_1.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_10.c b/testsuite/libsmbclient/src/write/write_10.c
index 1f43c60bb75..3796dad40f5 100644
--- a/testsuite/libsmbclient/src/write/write_10.c
+++ b/testsuite/libsmbclient/src/write/write_10.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_11.c b/testsuite/libsmbclient/src/write/write_11.c
index 3f9ae3f97da..413b35d5877 100644
--- a/testsuite/libsmbclient/src/write/write_11.c
+++ b/testsuite/libsmbclient/src/write/write_11.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_12.c b/testsuite/libsmbclient/src/write/write_12.c
index 3528dbb36e2..6d21f889db8 100644
--- a/testsuite/libsmbclient/src/write/write_12.c
+++ b/testsuite/libsmbclient/src/write/write_12.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_13.c b/testsuite/libsmbclient/src/write/write_13.c
index f3c2ad5bc3f..9780646451c 100644
--- a/testsuite/libsmbclient/src/write/write_13.c
+++ b/testsuite/libsmbclient/src/write/write_13.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_2.c b/testsuite/libsmbclient/src/write/write_2.c
index 49763ebe0cd..eed3eea2848 100644
--- a/testsuite/libsmbclient/src/write/write_2.c
+++ b/testsuite/libsmbclient/src/write/write_2.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_3.c b/testsuite/libsmbclient/src/write/write_3.c
index 254782946d7..c91b08a76c6 100644
--- a/testsuite/libsmbclient/src/write/write_3.c
+++ b/testsuite/libsmbclient/src/write/write_3.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_4.c b/testsuite/libsmbclient/src/write/write_4.c
index 6ee585f0210..0a1c33740f8 100644
--- a/testsuite/libsmbclient/src/write/write_4.c
+++ b/testsuite/libsmbclient/src/write/write_4.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_5.c b/testsuite/libsmbclient/src/write/write_5.c
index 84cb50123cc..6b21177c4d5 100644
--- a/testsuite/libsmbclient/src/write/write_5.c
+++ b/testsuite/libsmbclient/src/write/write_5.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_6.c b/testsuite/libsmbclient/src/write/write_6.c
index c139ff81379..d92e13b1e6f 100644
--- a/testsuite/libsmbclient/src/write/write_6.c
+++ b/testsuite/libsmbclient/src/write/write_6.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_7.c b/testsuite/libsmbclient/src/write/write_7.c
index bc509f1efd3..acbcf57539e 100644
--- a/testsuite/libsmbclient/src/write/write_7.c
+++ b/testsuite/libsmbclient/src/write/write_7.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_8.c b/testsuite/libsmbclient/src/write/write_8.c
index acc20f19586..da2ae12e775 100644
--- a/testsuite/libsmbclient/src/write/write_8.c
+++ b/testsuite/libsmbclient/src/write/write_8.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{
diff --git a/testsuite/libsmbclient/src/write/write_9.c b/testsuite/libsmbclient/src/write/write_9.c
index b707d5c688e..606bf642ddd 100644
--- a/testsuite/libsmbclient/src/write/write_9.c
+++ b/testsuite/libsmbclient/src/write/write_9.c
@@ -12,7 +12,7 @@ char g_server[MAX_BUFF_SIZE];
char g_share[MAX_BUFF_SIZE];
-void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
+static void auth_fn(const char *server, const char *share, char *workgroup, int wgmaxlen,
char *username, int unmaxlen, char *password, int pwmaxlen)
{