summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/hostfile.h
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2003-11-10 16:23:41 +0000
committerjakob <jakob@openbsd.org>2003-11-10 16:23:41 +0000
commit69c754671be6c2948a53b5b7b200caf1cc4f6f11 (patch)
tree589f35e40471b718fbcb98707505d342580c3af2 /usr.bin/ssh/hostfile.h
parentFine-grained handling of errors, pkg already installed is not an error. (diff)
downloadwireguard-openbsd-69c754671be6c2948a53b5b7b200caf1cc4f6f11.tar.xz
wireguard-openbsd-69c754671be6c2948a53b5b7b200caf1cc4f6f11.zip
constify. ok markus@ & djm@
Diffstat (limited to 'usr.bin/ssh/hostfile.h')
-rw-r--r--usr.bin/ssh/hostfile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/hostfile.h b/usr.bin/ssh/hostfile.h
index e3d1165818c..efcddc9f9c0 100644
--- a/usr.bin/ssh/hostfile.h
+++ b/usr.bin/ssh/hostfile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostfile.h,v 1.13 2002/11/21 23:03:51 deraadt Exp $ */
+/* $OpenBSD: hostfile.h,v 1.14 2003/11/10 16:23:41 jakob Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -20,8 +20,8 @@ typedef enum {
int hostfile_read_key(char **, u_int *, Key *);
HostStatus check_host_in_hostfile(const char *, const char *,
- Key *, Key *, int *);
-int add_host_to_hostfile(const char *, const char *, Key *);
+ const Key *, Key *, int *);
+int add_host_to_hostfile(const char *, const char *, const Key *);
int lookup_key_in_hostfile_by_type(const char *, const char *,
int, Key *, int *);