summaryrefslogtreecommitdiff
path: root/src/qmail-pw2u.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-pw2u.c')
-rw-r--r--src/qmail-pw2u.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/qmail-pw2u.c b/src/qmail-pw2u.c
index 1ed7568..948270c 100644
--- a/src/qmail-pw2u.c
+++ b/src/qmail-pw2u.c
@@ -27,37 +27,37 @@
#define WHO "qmail-pw2u"
-void die_chdir()
+static void die_chdir()
{
buffer_putsflush(buffer_2, "qmail-pw2u: fatal: unable to chdir\n");
_exit(111);
}
-void die_nomem()
+static void die_nomem()
{
buffer_putsflush(buffer_2, "qmail-pw2u: fatal: out of memory\n");
_exit(111);
}
-void die_read()
+static void die_read()
{
buffer_putsflush(buffer_2, "qmail-pw2u: fatal: unable to read input\n");
_exit(111);
}
-void die_write()
+static void die_write()
{
buffer_putsflush(buffer_2, "qmail-pw2u: fatal: unable to write output\n");
_exit(111);
}
-void die_control()
+static void die_control()
{
buffer_putsflush(buffer_2, "qmail-pw2u: fatal: unable to read controls\n");
_exit(111);
}
-void die_alias()
+static void die_alias()
{
buffer_puts(buffer_2, "qmail-pw2u: fatal: unable to find ");
buffer_puts(buffer_2, auto_usera);
@@ -66,7 +66,7 @@ void die_alias()
_exit(111);
}
-void die_home(char *fn)
+static void die_home(char *fn)
{
buffer_puts(buffer_2, "qmail-pw2u: fatal: unable to stat ");
buffer_puts(buffer_2, fn);
@@ -75,7 +75,7 @@ void die_home(char *fn)
_exit(111);
}
-void die_user(char *s, unsigned int len)
+static void die_user(char *s, unsigned int len)
{
buffer_puts(buffer_2, "qmail-pw2u: fatal: unable to find ");
buffer_put(buffer_2, s, len);
@@ -114,7 +114,7 @@ unsigned long uid;
stralloc line = {0};
-void doaccount()
+static void doaccount()
{
struct stat st;
int i;
@@ -234,7 +234,7 @@ void doaccount()
stralloc sub = {0};
-void dosubuser()
+static void dosubuser()
{
int i;
char *x;