summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-02-04 12:01:34 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-02-04 12:01:34 +0000
commit77249efbf815617917e88dde4b600b107c1a1366 (patch)
tree9b42e8835413ac4839048c8c1a7c223e5b1437cb /usr.sbin/relayd
parentfdd2ed2da62453488c573fc6cc96109d75395bb0 (diff)
declare se_relay as pointer to a struct relay not as a void pointer;
shuffle the forward decleration of struct relay around too accommodate this change; ok reyk@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 7796ec104a7..634470a4e90 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.93 2008/01/31 12:12:50 thib Exp $ */
+/* $OpenBSD: relayd.h,v 1.94 2008/02/04 12:01:33 thib Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -404,6 +404,7 @@ struct rdr {
};
TAILQ_HEAD(rdrlist, rdr);
+struct relay;
struct session {
objid_t se_id;
u_int32_t se_key;
@@ -419,7 +420,7 @@ struct session {
int se_retry;
u_int16_t se_mark;
struct evbuffer *se_log;
- void *se_relay;
+ struct relay *se_relay;
struct ctl_natlook *se_cnl;
SPLAY_ENTRY(session) se_nodes;
@@ -504,7 +505,6 @@ enum prototype {
#define SSLCIPHERS_DEFAULT "HIGH:!ADH"
-struct relay;
struct protocol {
objid_t id;
u_int32_t flags;