From 021b0aa3c497860ea964b96b2cec8f1290846891 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 10 Sep 2011 03:01:33 +0200 Subject: resolv: simple optimizations and style/readability fixes text data bss dec hex filename - 2915 0 0 2915 b63 libc/inet/ns_name_old.o + 2656 0 0 2656 a60 libc/inet/ns_name.o - 958 0 0 958 3be libc/inet/ns_parse_old.o + 898 0 0 898 382 libc/inet/ns_parse.o Signed-off-by: Denys Vlasenko --- include/arpa/nameser.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/arpa') diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index 153424954..dfab5b4bb 100644 --- a/include/arpa/nameser.h +++ b/include/arpa/nameser.h @@ -118,10 +118,6 @@ typedef struct __ns_msg { const u_char *_ptr; } ns_msg; -/* Private data structure - do not use from outside library. */ -struct _ns_flagdata { int mask, shift; }; -extern const struct _ns_flagdata _ns_flagdata[]; - /* Accessor macros - this is part of the public interface. */ #define ns_msg_id(handle) ((handle)._id + 0) #define ns_msg_base(handle) ((handle)._msg + 0) -- cgit v1.2.3