diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-25 17:16:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-25 17:16:17 +0000 |
commit | 1663b44fbc3fbebdf597397f45fcaa033d00d032 (patch) | |
tree | 52587dda61ba1d8c8c05fa09307194f5a895d6fa /include | |
parent | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free (diff) | |
download | glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.tar.gz glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.tar.bz2 glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.zip |
* nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying.
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/netinet/in.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h index 2018ed21c3..876f1a4369 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -5,6 +5,5 @@ libc_hidden_proto (bindresvport) libc_hidden_proto (in6addr_loopback) libc_hidden_proto (in6addr_any) -libc_hidden_proto (inet6_option_alloc) #endif |