Skip to content

Commit

Permalink
Quiet warning about rk_getprocauxval()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed May 28, 2017
1 parent 8a0186c commit d999ac7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/roken/getauxval.c
Expand Up @@ -134,6 +134,7 @@ rk_getauxv(unsigned long type)
return NULL;
}

#ifndef HAVE_GETAUXVAL
static unsigned long
rk_getprocauxval(unsigned long type)
{
Expand All @@ -145,6 +146,7 @@ rk_getprocauxval(unsigned long type)
}
return a->a_un.a_val;
}
#endif

/**
* Like the nearly-standard getauxval(). If the auxval is not found
Expand Down

0 comments on commit d999ac7

Please sign in to comment.