X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;fp=platform%2Fposix%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;h=18fcc22efd0dbf7d2f457932eaa23dbc17ad430e;hp=4a1da0d33458306174ab7e4ace2a52244230fca4;hb=14bc57c5c4d93263e08fe50e67eb61815cd0592f;hpb=36ba0291514888662188f6a64fe34e9acad1c298 diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c b/platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c index 4a1da0d..18fcc22 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c @@ -385,7 +385,7 @@ struct _PDCLIB_locale _PDCLIB_global_locale = { }; /* Todo: Better solution than this! */ -__attribute__((constructor)) void init_stdio(void) +__attribute__((constructor)) static void init_stdio(void) { _PDCLIB_initclocale( &_PDCLIB_global_locale ); tss_create(&_PDCLIB_locale_tss, (tss_dtor_t) freelocale);