diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-10 16:45:58 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-23 15:03:17 -0300 |
commit | 2a16484a750361974ffb7a4faa22bec7afda2f46 (patch) | |
tree | 4bc92e3bea12f4903592304ad11823d59dcb6b7d /support | |
parent | 41397b9337da4f9c4bba4b6786c9edf961469ace (diff) | |
download | glibc-2a16484a750361974ffb7a4faa22bec7afda2f46.tar glibc-2a16484a750361974ffb7a4faa22bec7afda2f46.tar.gz glibc-2a16484a750361974ffb7a4faa22bec7afda2f46.tar.bz2 glibc-2a16484a750361974ffb7a4faa22bec7afda2f46.zip |
support: Remove unused extract_8 function
Diffstat (limited to 'support')
-rw-r--r-- | support/support_format_dns_packet.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/support/support_format_dns_packet.c b/support/support_format_dns_packet.c index 8ed234603e..e8b3c125e3 100644 --- a/support/support_format_dns_packet.c +++ b/support/support_format_dns_packet.c @@ -32,17 +32,6 @@ struct in_buffer }; static inline bool -extract_8 (struct in_buffer *in, unsigned char *value) -{ - if (in->size == 0) - return false; - *value = in->data[0]; - ++in->data; - --in->size; - return true; -} - -static inline bool extract_16 (struct in_buffer *in, unsigned short *value) { if (in->size < 2) |