mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
support: Remove unused extract_8 function
This commit is contained in:
parent
41397b9337
commit
2a16484a75
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user