summaryrefslogtreecommitdiff
path: root/include/arpa/nameser.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 03:01:33 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-10 03:01:33 +0200
commit021b0aa3c497860ea964b96b2cec8f1290846891 (patch)
tree6d039bd542ccabc7fbfb5b667e501a39e8f0205d /include/arpa/nameser.h
parent8ed76f5abc1790ae975649c735d5ff15de275615 (diff)
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 <vda.linux@googlemail.com>
Diffstat (limited to 'include/arpa/nameser.h')
-rw-r--r--include/arpa/nameser.h4
1 files changed, 0 insertions, 4 deletions
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)