From 726b116dcac3d23fe05dca083c5412a595be8637 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 16 Jan 2006 00:20:22 +0000 Subject: some global data relocs gone --- libc/stdio/vfprintf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/stdio/vfprintf.c') diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c index f02eae02b..d467b8297 100644 --- a/libc/stdio/vfprintf.c +++ b/libc/stdio/vfprintf.c @@ -227,9 +227,9 @@ libc_hidden_proto(fputws) (__PA_FLAG_CHAR|PA_FLAG_SHORT|__PA_FLAG_INT|PA_FLAG_LONG|PA_FLAG_LONG_LONG) #ifdef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ -extern printf_function _custom_printf_handler[MAX_USER_SPEC]; -extern printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC]; -extern char *_custom_printf_spec; +extern printf_function _custom_printf_handler[MAX_USER_SPEC] attribute_hidden; +extern printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC] attribute_hidden; +extern char *_custom_printf_spec attribute_hidden; #endif /* __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ */ /**********************************************************************/ @@ -831,9 +831,9 @@ static int _is_equal_or_bigger_arg(int curtype, int newtype) /* TODO - do this differently? */ static char _bss_custom_printf_spec[MAX_USER_SPEC]; /* 0-init'd for us. */ -char *_custom_printf_spec = _bss_custom_printf_spec; -printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC]; -printf_function _custom_printf_handler[MAX_USER_SPEC]; +attribute_hidden char *_custom_printf_spec = _bss_custom_printf_spec; +attribute_hidden printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC]; +attribute_hidden printf_function _custom_printf_handler[MAX_USER_SPEC]; #endif /* __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ */ int attribute_hidden _ppfs_parsespec(ppfs_t *ppfs) -- cgit v1.2.3