diff options
author | Günther Deschner <gd@samba.org> | 2011-10-25 12:38:41 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-25 17:57:25 +0200 |
commit | ef87630594d8fcd3305ad0cde8b17f330c7adfff (patch) | |
tree | d1979d77173e6c460680a0848758da1bdd485be6 /testsuite | |
parent | 242292d4deefadb14f96af46a1461fc694fad2f4 (diff) | |
download | samba-ef87630594d8fcd3305ad0cde8b17f330c7adfff.tar.gz samba-ef87630594d8fcd3305ad0cde8b17f330c7adfff.tar.bz2 samba-ef87630594d8fcd3305ad0cde8b17f330c7adfff.zip |
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')
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 47c86b1f80..3d46ba2a8b 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 47c86b1f80..3d46ba2a8b 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 983e627d89..182964c9d2 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 b0319e41d9..41824e9d0f 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 702b92c24a..0485bc22be 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 88b6e2ce7e..cb60cf6772 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 4fdc9c849c..601a018009 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 ee1d72bae3..ffb5c0e80f 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 9ccab002c1..1b22b6ef3a 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 599a1845d3..6181449e76 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 ae27a2a1c9..f88a8df5c2 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 fd63400869..74d4d6fe76 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 ea2e7e3145..3e27541a0a 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 57bb3b7557..24118ad58b 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 57bb3b7557..24118ad58b 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 9ebdd60264..add089d557 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 8a38e5be34..d317568444 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 6e253f78c5..fbbd78dfd0 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 e7eb959a8f..6b8ddb0905 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 cea0ae21c4..2febd26f7a 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 4afd3539b8..18be3c7521 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 5cf7c1b928..b641d7b859 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 f49ed982e1..fe56911c84 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 714f08fd72..ec55f2b571 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 6d6874716c..da899696ce 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 1cb52d0894..8df52f8eef 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 ad207724b4..e579b07f3c 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 874bc896d0..21e95bb413 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 7b691ae75a..433e4d26db 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 d25d20721b..fce4629777 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 c358565d31..2f4f865049 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 8b58ade083..b4f2eba36b 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 c8a62e682b..158c4604f1 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 c8a62e682b..158c4604f1 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 2e40c96410..66367044b3 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 b5236b8537..68c3bfc22d 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 e3ef6cdd54..17f172bb7b 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 e70f3ca6b5..2460a4c067 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 010ca382a5..0610c21757 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 cb729d8642..8cfae82356 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 ede9cef081..a133bb83a8 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 1bc9a7e45d..8a1745d659 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 86b8e342d8..12523645c6 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 25bbc8d9bd..94c5997c94 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 20389bcb9b..07e11cb9dc 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 ebbc94a18b..1acd68d220 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 e5a0ce2561..272da51f89 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 ed1aa70f33..dcbd5949eb 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 9f72985cec..7fb107244d 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 8903ee912b..471b498eb9 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 25a663d6ab..348fe6f911 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 2bfe30f1af..4654e6721d 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 93ffb4891e..84e86e0292 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 585fdee377..cda9326ef3 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 f737f19bfe..691fe2d0e1 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 1bd01b5fee..1495e92e74 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 60658d2cd5..f282f42b54 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 3b6f28eaf3..db9e9e0aec 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 23b25e5506..819fca71a0 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 19932aa319..7722c83453 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 a569cd8fe9..29336099e8 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 4b2a6af84f..fcd1f51e39 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 1650f7340d..196697e455 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 accf0bf872..0862d2f4ac 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 d5b66dfe63..28653c56b8 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 3f9ae3f97d..413b35d587 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 2747f62e1c..fb540cc5a5 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 89bc68f915..9b90e006a5 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 4b3dc9439c..b2cc2766fb 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 3f4493487e..8c252ba707 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 dbacfa392e..bb78c6fe84 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 96891ef8da..4cfca3a20f 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 7839a964ee..74ba22747b 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 fa8a783d7f..f229f8ecce 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 e3f7055d3f..db9db0daf6 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 77468317d9..7273277ab5 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 5ca7e38bf8..7b508a0968 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 bc4f53dd85..dbc453701e 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 06a4c9eded..3030b9b117 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 42b18aaa48..5d893b50dd 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 de94c4698e..aa77c4027d 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 c3e1377c29..707ccffcf6 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 01fb144c59..3953cb1d39 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 0c34108802..5341197061 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 cc34e079e1..a088f66c4d 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 30b33499d6..073fbb6eaf 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 61aad34e72..dc96a9e1a9 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 b3d340348c..ee0ad9734d 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 a7508e969c..06684a7d24 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 a4c2647001..46d1119f26 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 97fb8fe683..c579f2e94e 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 c9c349427e..4886298fce 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 67188abea9..aa2cbd2485 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 efbef5c30c..857286a9dc 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 1c1876dbb0..a868cb1b45 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 2c64052d8b..167730847d 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 700b1d7a97..d454d935ff 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 c1b881d4d4..23b90bd749 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 a772303725..4cec82c276 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 c4f787f63b..3133ca4fe7 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 a44e677832..5f8079156b 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 08382acd74..198d24d016 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 80ee5dd871..7e73de194d 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 1220577a3c..eb05ee701b 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 8bc544833e..03a1616e70 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 86028f0598..dd550f92c9 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 071bdd0f2f..070b9c4561 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 168ccae018..8948734182 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 725033f453..5e6cb94bb1 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 6971b79b0f..45a4d158b0 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 06ba59538a..67a7dc696f 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 14184237d7..852917456b 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 f851e145e8..1984ffb9b7 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 12e9d1d0aa..d1902eeeea 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 58f541c69a..f70e687e77 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 f94b93d048..5573131e90 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 f6082595a3..d53ac52364 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 3980704847..29bbbb1369 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 551a651ae4..800823850d 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 309dc39639..bd96afba34 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 73a8e057a6..63de3cb714 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 334c3653d1..51bafc45ae 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 cda3c9d7b0..12419ef450 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 2053be3c96..71c92c1f1f 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 78f9c29748..92789ac964 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 b19bf228de..e3feb214c4 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 52f127c362..6de6b3d0b1 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 5686b3f53e..50c9464e00 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 28966f8af4..c776bdff0a 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 4fb3e30017..b3f76a4210 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 fa147f8f50..9cc80df763 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 1f43c60bb7..3796dad40f 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 3f9ae3f97d..413b35d587 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 3528dbb36e..6d21f889db 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 f3c2ad5bc3..9780646451 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 49763ebe0c..eed3eea284 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 254782946d..c91b08a76c 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 6ee585f021..0a1c33740f 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 84cb50123c..6b21177c4d 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 c139ff8137..d92e13b1e6 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 bc509f1efd..acbcf57539 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 acc20f1958..da2ae12e77 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 b707d5c688..606bf642dd 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) { |