summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2001-06-25 20:26:37 +0000
committerstevesk <stevesk@openbsd.org>2001-06-25 20:26:37 +0000
commit5b8df3478628dae3a1b79feaeccb63977e3a12fa (patch)
tree5e418ca2e2d4faf7d5bc530ead4cd2ebdc6a0ebb
parentpci_mapreg_map requires another argument (diff)
downloadwireguard-openbsd-5b8df3478628dae3a1b79feaeccb63977e3a12fa.tar.xz
wireguard-openbsd-5b8df3478628dae3a1b79feaeccb63977e3a12fa.zip
prototype cleanup; ok markus@
-rw-r--r--usr.bin/ssh/auth2.c6
-rw-r--r--usr.bin/ssh/sshconnect2.c7
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index c9053c73a88..6e7b8d133ab 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.66 2001/06/23 15:12:17 itojun Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.67 2001/06/25 20:26:37 stevesk Exp $");
#include <openssl/evp.h>
@@ -76,7 +76,7 @@ static void protocol_error(int, int, void *);
/* helper */
static Authmethod *authmethod_lookup(const char *);
-char *authmethods_get(void);
+static char *authmethods_get(void);
static int user_key_allowed(struct passwd *, Key *);
static int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
@@ -547,7 +547,7 @@ auth_get_user(void)
#define DELIM ","
-char *
+static char *
authmethods_get(void)
{
Authmethod *method = NULL;
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index 4ce8d4d85a0..258ee483463 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.78 2001/06/24 05:47:13 markus Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.79 2001/06/25 20:26:37 stevesk Exp $");
#include <openssl/bn.h>
#include <openssl/md5.h>
@@ -461,7 +461,7 @@ userauth_passwd(Authctxt *authctxt)
return 1;
}
-void
+static void
clear_auth_state(Authctxt *authctxt)
{
/* XXX clear authentication state */
@@ -976,7 +976,8 @@ authmethod_get(char *authlist)
#define DELIM ","
-char *
+
+static char *
authmethods_get(void)
{
Authmethod *method = NULL;