From 6f1e513dbbd1f786d93a6e402f2b23f4e0814a9d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 6 Jun 2003 05:43:57 +0000 Subject: * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecified size. 2003-06-04 Richard Henderson * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecified size. --- ChangeLog | 5 +++++ 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 + + * include/libc-symbols.h (symbol_set_declare): Use arrays + of unspecified size. + 2003-06-04 Jakub Jelinek * 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 -- cgit 1.4.1