aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-06 05:43:57 +0000
committerRichard Henderson <rth@redhat.com>2003-06-06 05:43:57 +0000
commit6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d (patch)
tree334d6927913485a0f6755bbb60c08327785a0c43
parentcc7ee40876d7ce47f1f778b48c31335cc3b5116c (diff)
downloadglibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.zip
glibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.tar.gz
glibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.tar.bz2
* include/libc-symbols.h (symbol_set_declare): Use arrays of unspecified size.
2003-06-04 Richard Henderson <rth@redhat.com> * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecified size.
-rw-r--r--ChangeLog5
-rw-r--r--include/libc-symbols.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cfa7a31..e51ea03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-04 Richard Henderson <rth@redhat.com>
+
+ * include/libc-symbols.h (symbol_set_declare): Use arrays
+ of unspecified size.
+
2003-06-04 Jakub Jelinek <jakub@redhat.com>
* config.make.in (ASFLAGS-config): New.
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 169f4d3..ffda19c 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -350,8 +350,8 @@
For static linking, the set might be wholly absent and so we use
weak references. */
# define symbol_set_declare(set) \
- extern void *const __start_##set __symbol_set_attribute; \
- extern void *const __stop_##set __symbol_set_attribute;
+ extern char const __start_##set[] __symbol_set_attribute; \
+ extern char const __stop_##set[] __symbol_set_attribute;
# ifdef SHARED
# define __symbol_set_attribute attribute_hidden
# else