summary refs log tree commit diff
path: root/include/libc-symbols.h
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 /include/libc-symbols.h
parentcc7ee40876d7ce47f1f778b48c31335cc3b5116c (diff)
downloadglibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.tar.gz
glibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.tar.xz
glibc-6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d.zip
* 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.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 169f4d31a3..ffda19c6ac 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