diff options
author | Greg McGary <greg@mcgary.org> | 2000-07-17 22:33:06 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 2000-07-17 22:33:06 +0000 |
commit | 03df72bf736599aa4c2c8343b33bed3d2954afa8 (patch) | |
tree | f24ce1a51c6d0239d4e32840b06826ba9ac4a63c /include/libc-symbols.h | |
parent | 14fa17ccec369589c6578af5b6a97b1353d73227 (diff) | |
download | glibc-03df72bf736599aa4c2c8343b33bed3d2954afa8.tar.gz glibc-03df72bf736599aa4c2c8343b33bed3d2954afa8.tar.xz glibc-03df72bf736599aa4c2c8343b33bed3d2954afa8.zip |
* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify ptr as __unbouned. * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify ptr as __unbouned.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r-- | include/libc-symbols.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 30a27c803b..147dca3542 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -242,8 +242,8 @@ /* Declare SET for use in this module, if defined in another module. */ # define symbol_set_declare(set) \ - extern void (*const __start_##set) (void) __attribute__ ((__weak__)); \ - extern void (*const __stop_##set) (void) __attribute__ ((__weak__)); \ + extern void *const __start_##set __attribute__ ((__weak__)); \ + extern void *const __stop_##set __attribute__ ((__weak__)); \ weak_extern (__start_##set) weak_extern (__stop_##set) /* Return a pointer (void *const *) to the first element of SET. */ @@ -261,7 +261,7 @@ asm(".stabs \"" __SYMBOL_PREFIX #set "\",25,0,0," __SYMBOL_PREFIX #symbol) # define bss_set_element(set, symbol) ?error Must use initialized data. # define symbol_set_define(set) void *const (set)[1]; -# define symbol_set_declare(set) extern void (*const (set)[1]) (void); +# define symbol_set_declare(set) extern void *const (set)[1]; # define symbol_set_first_element(set) &(set)[1] # define symbol_set_end_p(set, ptr) (*(ptr) == 0) |