summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-06-23 15:12:17 +0000
committeritojun <itojun@openbsd.org>2001-06-23 15:12:17 +0000
commitfae73ca39db8778fbd881b5971d896922ed8bf76 (patch)
treea0ef435bb5abac50a55a93941614a1aa2cad1c96 /usr.bin/ssh/ssh-add.c
parentdocument ll, depreciate q (diff)
downloadwireguard-openbsd-fae73ca39db8778fbd881b5971d896922ed8bf76.tar.xz
wireguard-openbsd-fae73ca39db8778fbd881b5971d896922ed8bf76.zip
more strict prototypes. raise warning level in Makefile.inc. markus ok'ed
TODO; cleanup headers
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r--usr.bin/ssh/ssh-add.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c
index aba5f3f5b13..4c2db31703d 100644
--- a/usr.bin/ssh/ssh-add.c
+++ b/usr.bin/ssh/ssh-add.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.39 2001/06/23 15:12:20 itojun Exp $");
#include <openssl/evp.h>
@@ -51,7 +51,7 @@ RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $");
/* we keep a cache of one passphrases */
static char *pass = NULL;
-void
+static void
clear_pass(void)
{
if (pass) {
@@ -61,7 +61,7 @@ clear_pass(void)
}
}
-void
+static void
delete_file(AuthenticationConnection *ac, const char *filename)
{
Key *public;
@@ -81,7 +81,7 @@ delete_file(AuthenticationConnection *ac, const char *filename)
}
/* Send a request to remove all identities. */
-void
+static void
delete_all(AuthenticationConnection *ac)
{
int success = 1;
@@ -97,7 +97,7 @@ delete_all(AuthenticationConnection *ac)
fprintf(stderr, "Failed to remove all identities.\n");
}
-void
+static void
add_file(AuthenticationConnection *ac, const char *filename)
{
struct stat st;
@@ -143,7 +143,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
key_free(private);
}
-void
+static void
list_identities(AuthenticationConnection *ac, int do_fp)
{
Key *key;