* include/libc-symbols.h (symbol_set_declare): Use arrays of unspecif...
authorRichard Henderson <rth@redhat.com>
Fri, 6 Jun 2003 05:43:57 +0000 (05:43 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 6 Jun 2003 05:43:57 +0000 (05:43 +0000)
2003-06-04  Richard Henderson  <rth@redhat.com>

        * include/libc-symbols.h (symbol_set_declare): Use arrays
        of unspecified size.

ChangeLog
include/libc-symbols.h

index cfa7a319b1137a3918f3103837c0c4633195f6ac..e51ea03718887c532f30ba14f305ffa70689168c 100644 (file)
--- 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.
index 169f4d31a32ef834301e564718d10974c3892498..ffda19c6ace5aa17e01aa85314922dd54a436426 100644 (file)
    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