Fix unused variable warnings

Do not define variables that are not used in Minix builds

Change-Id: I11d12e5e1de9fc359b71a7e7534fc8f09fac837d
This commit is contained in:
Emmanuel Blot 2015-01-19 14:29:44 +01:00 committed by Lionel Sambuc
parent d91890d288
commit 4f89addcc1
2 changed files with 4 additions and 0 deletions

View file

@ -58,7 +58,9 @@ void __section(".text.startup")
_libc_aapcs_init(void)
{
if (!_libc_aapcs_initialized) {
#if !defined(__minix)
size_t len = sizeof(_libc_arm_fpu_present);
#endif
_libc_aapcs_initialized = true;
#if !defined(__minix)
(void)sysctlbyname("machdep.fpu_present",

View file

@ -162,7 +162,9 @@ static uint32_t net_mask(struct in_addr);
#endif
static struct timespec __res_conf_time;
#if !defined(__minix)
static const struct timespec ts = { 0, 0 };
#endif
/*
* Resolver state default settings.