wiringPi: Apply unused attribute.

To avoid error message, apply "__attribute__((unused))" to unsupported
functions and unused parameters.
This commit is contained in:
Luke Go
2019-07-08 15:37:07 +09:00
committed by Joshua Yang
parent 070ba21ecb
commit 2ee8a0d922
5 changed files with 31 additions and 31 deletions

View File

@@ -296,7 +296,7 @@ static const char *physNamesOdroidN2 [64] =
} ;
/*----------------------------------------------------------------------------*/
static void readallPhysOdroid (int model, int rev, int physPin, const char *physNames[])
static void readallPhysOdroid (int model, int UNU rev, int physPin, const char *physNames[])
{
int pin ;