summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/login_fbtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/login/login_fbtab.c')
-rw-r--r--usr.bin/login/login_fbtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/login/login_fbtab.c b/usr.bin/login/login_fbtab.c
index f642ea7..8faee56 100644
--- a/usr.bin/login/login_fbtab.c
+++ b/usr.bin/login/login_fbtab.c
@@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <errno.h>
#include <glob.h>
-#include <paths.h>
#include <stdio.h>
#include <string.h>
#include <syslog.h>
@@ -120,7 +119,7 @@ login_fbtab(char *tty, uid_t uid, gid_t gid)
/* login_protect - protect one device entry */
-void
+static void
login_protect(const char *table, char *pattern, int mask, uid_t uid, gid_t gid)
{
glob_t gl;
OpenPOWER on IntegriCloud