summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-10-27 17:01:29 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-10-27 17:01:29 +0000
commitcf222ce79f9f09bdcdc7a60e87e9bc95f2943177 (patch)
tree15110c7d70eb780962884e005a667c37a532074a /sbin/dhclient/dhcpd.h
parenta14744e8f63782a44c6d1f1c502c936f01032df1 (diff)
Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy();
ntoh[ls]()) obscure rather than simplify things. Especially when they are used only once. Just use the expansion.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 1d9e79471cd..77f6fa299a2 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.139 2014/05/23 15:26:22 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.140 2014/10/27 17:01:28 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -267,9 +267,6 @@ extern const struct option dhcp_options[256];
/* convert.c */
u_int32_t getULong(unsigned char *);
-int32_t getLong(unsigned char *);
-u_int16_t getUShort(unsigned char *);
-int16_t getShort(unsigned char *);
void putULong(unsigned char *, u_int32_t);
/* dhclient.c */