]> pd.if.org Git - pdclib/blobdiff - platform/posix/functions/_PDCLIB/_PDCLIB_stdinit.c
Local helpers made static, silencing compiler warnings.
[pdclib] / platform / posix / functions / _PDCLIB / _PDCLIB_stdinit.c
index 4a1da0d33458306174ab7e4ace2a52244230fca4..18fcc22efd0dbf7d2f457932eaa23dbc17ad430e 100644 (file)
@@ -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);