Fix unused variable warnings
Do not define variables that are not used in Minix builds Change-Id: I11d12e5e1de9fc359b71a7e7534fc8f09fac837d
This commit is contained in:
parent
d91890d288
commit
4f89addcc1
2 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue