aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_int.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-29 20:39:40 +0000
committerRoland McGrath <roland@gnu.org>2002-08-29 20:39:40 +0000
commitc5738211bd4a61e6950c3e4a61fbb4c366fd13df (patch)
tree63b1942a5b4b8bee015f50ec7ccb0adcd2d08894 /iconv/gconv_int.h
parent459c2eef2119d858913e0c786234d7d1b4f331f5 (diff)
downloadglibc-c5738211bd4a61e6950c3e4a61fbb4c366fd13df.tar
glibc-c5738211bd4a61e6950c3e4a61fbb4c366fd13df.tar.gz
glibc-c5738211bd4a61e6950c3e4a61fbb4c366fd13df.tar.bz2
glibc-c5738211bd4a61e6950c3e4a61fbb4c366fd13df.zip
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
* iconv/gconv_int.h: Include <stdlib.h> for alloca decl. (norm_add_slashes): alloca -> __alloca * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR p_vaddr/p_offset when computing LOADADDR.
Diffstat (limited to 'iconv/gconv_int.h')
-rw-r--r--iconv/gconv_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index a16a5434d7..1ac878d900 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -21,6 +21,7 @@
#define _GCONV_INT_H 1
#include "gconv.h"
+#include <stdlib.h> /* For alloca used in macro below. */
__BEGIN_DECLS
@@ -138,7 +139,7 @@ extern const char *__gconv_path_envvar attribute_hidden;
if (*cp++ == '/') \
++cnt; \
\
- tmp = result = alloca (cp - (str) + 3 + suffix_len); \
+ tmp = result = __alloca (cp - (str) + 3 + suffix_len); \
cp = (str); \
while (*cp != '\0') \
*tmp++ = __toupper_l (*cp++, &_nl_C_locobj); \