mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 19:00:09 +00:00
1663b44fbc
Avoid memory leak in case realloc fails. Simplification for better code generation. Avoid deprecation warning because of libc_hidden_proto for inet6_option_alloc. * inet/inet6_option.c (option_alloc): Renamed from inet6_option_alloc. Made static. (inet6_option_alloc): New a simple wrapper around option_alloc. (inet6_option_append): Call option_alloc. * include/netinet/in.h: Remove libc_hidden_proto for inet6_option_alloc.
10 lines
163 B
C
10 lines
163 B
C
#ifndef _NETINET_IN_H
|
|
|
|
#include <inet/netinet/in.h>
|
|
|
|
libc_hidden_proto (bindresvport)
|
|
libc_hidden_proto (in6addr_loopback)
|
|
libc_hidden_proto (in6addr_any)
|
|
|
|
#endif
|