summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-07-16 14:09:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-07-16 14:09:52 +0000
commit6b4cd68c66d670cd149dac8234b53038ca89fd3e (patch)
treefd5ffa1a00bda04f98f8d5bdad2a14839f9f7875 /sbin/dhclient/dhclient.c
parent334d3fa8dbae7379d3a5934f3128e41482fb8c42 (diff)
Eliminate unnecessary 'code' field from struct option. Make
dhcp_options const. ok henning@
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index dd258f18bc2..00a4908462c 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.75 2005/07/13 23:31:32 deraadt Exp $ */
+/* $OpenBSD: dhclient.c,v 1.76 2005/07/16 14:09:51 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -2048,7 +2048,7 @@ script_flush_env(struct client_state *client)
}
int
-dhcp_option_ev_name(char *buf, size_t buflen, struct option *option)
+dhcp_option_ev_name(char *buf, size_t buflen, const struct option *option)
{
int i;