summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-07-08 13:42:10 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-07-08 13:42:10 +0000
commit7d880d1a774200812c91dcc77ebf9d12119bc924 (patch)
treeed7abb66e20573363d73a5f3c2cbc915335d2262 /usr.sbin
parentcc7e59983c5a895e028c6d390c606195f31f6c6f (diff)
auth_bsd() is static
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/auth_bsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/auth_bsd.c b/usr.sbin/smtpd/auth_bsd.c
index 2ca0e19ee59..b9aba84eb17 100644
--- a/usr.sbin/smtpd/auth_bsd.c
+++ b/usr.sbin/smtpd/auth_bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth_bsd.c,v 1.1 2011/12/14 22:28:02 eric Exp $ */
+/* $OpenBSD: auth_bsd.c,v 1.2 2012/07/08 13:42:09 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -30,13 +30,13 @@
#include "smtpd.h"
-int auth_bsd(char *, char *);
+static int auth_bsd(char *, char *);
struct auth_backend auth_backend_bsd = {
auth_bsd,
};
-int
+static int
auth_bsd(char *username, char *password)
{
return auth_userokay(username, NULL, "auth-smtp", password);