Commit f57148ba f57148ba139b4d20c68a6d47471ce8eb5ff9f02e by Sergey Poznyakoff

All functions made static.

1 parent 77a8e657
......@@ -41,7 +41,7 @@
#include <mailutils/mu_auth.h>
/* System database */
int
static int
mu_auth_system (void *return_data, struct passwd *pw)
{
char *mailbox_name;
......@@ -83,7 +83,7 @@ mu_auth_system_by_name (void *return_data, void *key,
return mu_auth_system (return_data, getpwnam (key));
}
int
static int
mu_auth_system_by_uid (void *return_data, void *key,
void *unused_func_data, void *unused_call_data)
{
......@@ -95,7 +95,7 @@ mu_auth_system_by_uid (void *return_data, void *key,
return mu_auth_system (return_data, getpwuid (*(uid_t*) key));
}
int
static int
mu_authenticate_generic (void *ignored_return_data,
void *key,
void *ignored_func_data,
......@@ -110,7 +110,7 @@ mu_authenticate_generic (void *ignored_return_data,
}
/* Called only if generic fails */
int
static int
mu_authenticate_system (void *ignored_return_data,
void *key,
void *ignored_func_data,
......
......@@ -47,7 +47,7 @@
#include <mailutils/mu_auth.h>
#ifdef USE_VIRTUAL_DOMAINS
struct passwd *
static struct passwd *
getpwnam_virtual (char *u)
{
struct passwd *pw = NULL;
......@@ -85,7 +85,7 @@ getpwnam_virtual (char *u)
return pw;
}
struct passwd *
static struct passwd *
getpwnam_ip_virtual (const char *u)
{
struct sockaddr_in addr;
......@@ -128,7 +128,7 @@ getpwnam_ip_virtual (const char *u)
}
/* Virtual domains */
int
static int
mu_auth_virt_domain_by_name (void *return_data, void *key,
void *unused_func_data, void *unused_call_data)
{
......@@ -167,7 +167,7 @@ mu_auth_virt_domain_by_name (void *return_data, void *key,
return rc;
}
#else
int
static int
mu_auth_virt_domain_by_name (void *return_data, void *key,
void *unused_func_data, void *unused_call_data)
{
......