diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/libc-symbols.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index cfa7a319b1..e51ea03718 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 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 |