public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] support: Remove unused extract_8 function
@ 2022-03-23 18:31 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-03-23 18:31 UTC (permalink / raw)
  To: libc-alpha

---
 support/support_format_dns_packet.c | 11 -----------
 1 file changed, 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
@@ -31,17 +31,6 @@ struct in_buffer
   size_t size;
 };
 
-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)
 {
-- 
2.32.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-23 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 18:31 [COMMITTED] support: Remove unused extract_8 function Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).