diff -urN tpop3d-1.5.3.org/auth_mysql.c tpop3d-1.5.3/auth_mysql.c --- tpop3d-1.5.3.org/auth_mysql.c 2004-08-19 23:51:19.751469352 +0200 +++ tpop3d-1.5.3/auth_mysql.c 2004-08-19 23:54:16.564589672 +0200 @@ -44,7 +44,7 @@ * [2] unix user * [3] mailbox type */ -char *user_pass_query_template = +static char *user_pass_query_template = "SELECT concat(domain.path, '/', popbox.mbox_name), popbox.password_hash, " "domain.unix_user, 'bsd' " "FROM popbox, domain " @@ -52,7 +52,7 @@ "AND popbox.domain_name = '$(domain)' " "AND popbox.domain_name = domain.domain_name"; -char *apop_query_template = +static char *apop_query_template = "SELECT concat(domain.path, '/', popbox.mbox_name), popbox.password_hash, " "domain.unix_user, 'bsd' " "FROM popbox, domain " @@ -60,7 +60,7 @@ "AND popbox.domain_name = '$(domain)' " "AND popbox.domain_name = domain.domain_name"; -char *onlogin_query_template = NULL; +static char *onlogin_query_template = NULL; /* GID used to access mail spool (if any). */ int use_gid; diff -urN tpop3d-1.5.3.org/auth_pgsql.c tpop3d-1.5.3/auth_pgsql.c --- tpop3d-1.5.3.org/auth_pgsql.c 2004-08-19 23:51:18.772618160 +0200 +++ tpop3d-1.5.3/auth_pgsql.c 2004-08-19 23:54:37.936340672 +0200 @@ -105,7 +105,7 @@ * [2] unix user * [3] mailbox type */ -char *user_pass_query_template = +static char *user_pass_query_template = "SELECT domain.path || '/' || popbox.mbox_name, popbox.password_hash, " "domain.unix_user, 'bsd' " "FROM popbox, domain " @@ -113,7 +113,7 @@ "AND popbox.domain_name = '$(domain)' " "AND popbox.domain_name = domain.domain_name"; -char *apop_query_template = +static char *apop_query_template = "SELECT domain.path || '/' || popbox.mbox_name, popbox.password_hash, " "domain.unix_user, 'bsd' " "FROM popbox, domain " @@ -121,7 +121,7 @@ "AND popbox.domain_name = '$(domain)' " "AND popbox.domain_name = domain.domain_name"; -char *onlogin_query_template = NULL; +static char *onlogin_query_template = NULL; /* GID used to access mail spool (if any). */ int use_gid;