1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-21 13:22:09 +00:00

* localtime.c (tzsetwall): Define only if STD_INSPIRED.

This removes lint in the !STD_INSPIRED case, as this function
is now unused in that case.
This commit is contained in:
Paul Eggert
2014-08-18 07:42:39 -07:00
parent 64399fc596
commit fe7e48bcf5

View File

@ -1166,13 +1166,7 @@ tzsetwall_unlocked(void)
lcl_is_set = -1; lcl_is_set = -1;
} }
#ifndef STD_INSPIRED #ifdef STD_INSPIRED
/*
** A non-static declaration of tzsetwall in a system header file
** may cause a warning about this upcoming static declaration...
*/
static
#endif /* !defined STD_INSPIRED */
void void
tzsetwall(void) tzsetwall(void)
{ {
@ -1181,6 +1175,7 @@ tzsetwall(void)
tzsetwall_unlocked(); tzsetwall_unlocked();
unlock(); unlock();
} }
#endif
static void static void
tzset_unlocked(void) tzset_unlocked(void)