summaryrefslogtreecommitdiff
path: root/usr.bin/login
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-06 18:12:07 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-06 18:12:07 +0000
commit9c55bf9dd4dd3ff83f8f6bccfe153527b7046d16 (patch)
tree97d31e24d3cb31e6f6633c590d1474d34fba0e09 /usr.bin/login
parent0a66bf920a1cb60a1d5dec5456497a3ae58bed82 (diff)
missing prototypes; ok millert
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/failedlogin.c7
-rw-r--r--usr.bin/login/login.c5
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/login/failedlogin.c b/usr.bin/login/failedlogin.c
index 326d80f844c..7b3fd4e295c 100644
--- a/usr.bin/login/failedlogin.c
+++ b/usr.bin/login/failedlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: failedlogin.c,v 1.9 2000/03/02 04:05:44 millert Exp $ */
+/* $OpenBSD: failedlogin.c,v 1.10 2001/07/06 18:12:05 pvalchev Exp $ */
/*
* Copyright (c) 1996 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: failedlogin.c,v 1.9 2000/03/02 04:05:44 millert Exp $";
+static char rcsid[] = "$OpenBSD: failedlogin.c,v 1.10 2001/07/06 18:12:05 pvalchev Exp $";
#endif /* not lint */
/*
@@ -58,6 +58,9 @@ struct badlogin {
size_t count; /* number of bad logins */
};
+void log_failedlogin __P((uid_t, char *, char *, char *));
+int check_failedlogin __P((uid_t));
+
/*
* Log a bad login to the failedlogin file.
*/
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index 85fd5575371..ee03a7153f3 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login.c,v 1.40 2001/06/28 22:49:42 millert Exp $ */
+/* $OpenBSD: login.c,v 1.41 2001/07/06 18:12:06 pvalchev Exp $ */
/* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */
/*-
@@ -77,7 +77,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: login.c,v 1.40 2001/06/28 22:49:42 millert Exp $";
+static char rcsid[] = "$OpenBSD: login.c,v 1.41 2001/07/06 18:12:06 pvalchev Exp $";
#endif /* not lint */
/*
@@ -131,6 +131,7 @@ void sighup __P((int));
void sleepexit __P((int));
char *stypeof __P((char *));
void timedout __P((int));
+int main __P((int, char **));
extern int check_failedlogin __P((uid_t));
extern void log_failedlogin __P((uid_t, char *, char *, char *));