summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-02-20 18:50:29 +0000
committerkrw <krw@openbsd.org>2013-02-20 18:50:29 +0000
commitfcb5de6621283c63067b454e6bfc3e6722feb15c (patch)
tree42fcf119969bf698ccf64240c03c0ac56625426e
parents/Id/OpenBSD/ in RCS tag (diff)
downloadwireguard-openbsd-fcb5de6621283c63067b454e6bfc3e6722feb15c.tar.xz
wireguard-openbsd-fcb5de6621283c63067b454e6bfc3e6722feb15c.zip
Nuke unused imsg_resolv_conf struct and declaration for non-existant function priv_resolv_conf().
-rw-r--r--sbin/dhclient/privsep.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h
index d34df3c8fe0..9e92f1cc6e3 100644
--- a/sbin/dhclient/privsep.h
+++ b/sbin/dhclient/privsep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.h,v 1.15 2013/02/18 15:57:08 krw Exp $ */
+/* $OpenBSD: privsep.h,v 1.16 2013/02/20 18:50:29 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -54,11 +54,6 @@ struct imsg_add_default_route {
struct in_addr gateway;
};
-struct imsg_resolv_conf {
- size_t len;
- char contents[1];
-};
-
struct imsg_hup {
char ifname[IFNAMSIZ];
int rdomain;
@@ -77,7 +72,6 @@ struct imsg_write_file {
};
void dispatch_imsg(struct imsgbuf *);
-void priv_resolv_conf(struct imsg_resolv_conf *);
void priv_delete_address(struct imsg_delete_address *);
void priv_add_address(struct imsg_add_address *);
void priv_flush_routes_and_arp_cache(struct imsg_flush_routes *);