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/netinet | |
parent | 6bcb494a99389d8c9b5846f8fe32dd9e791f94f7 (diff) | |
download | glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.zip glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.tar.gz glibc-1663b44fbc3fbebdf597397f45fcaa033d00d032.tar.bz2 |
* 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/netinet')
-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 2018ed2..876f1a4 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 |