mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* string/argz.h (argz_next): Add de-consting cast for return.
This commit is contained in:
parent
59cacc8162
commit
62ee0979f4
@ -1,5 +1,7 @@
|
||||
1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
|
||||
|
||||
* string/argz.h (argz_next): Add de-consting cast for return.
|
||||
|
||||
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
|
||||
Don't add netinet/udp.h, netinet/ip_icmp.h here.
|
||||
* sysdeps/gnu/Makefile: Do it here instead.
|
||||
|
@ -147,7 +147,7 @@ __argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
|
||||
return __entry >= __argz + __argz_len ? (char *) NULL : (char *) __entry;
|
||||
}
|
||||
else
|
||||
return __argz_len > 0 ? __argz : 0;
|
||||
return __argz_len > 0 ? (char *) __argz : 0;
|
||||
}
|
||||
extern inline char *
|
||||
argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
|
||||
|
Loading…
Reference in New Issue
Block a user