input: touchscreen: st: Fix strict-prototypes error

Change-Id: I0975813df12ad5e1920e67b33d7bd1c4aa5def11
This commit is contained in:
LuK1337 2023-10-21 12:48:00 +02:00 • committed by Łukasz Patron
commit 3aadf45ed1
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ int openChannel(struct i2c_client *clt)
return OK;
}
struct device *getDev()
struct device *getDev(void)
{
if (client != NULL)
return &(client->dev);
@ -92,7 +92,7 @@ struct device *getDev()
return NULL;
}
struct i2c_client *getClient()
struct i2c_client *getClient(void)
{
if (client != NULL)
return client;

View file

@ -92,7 +92,7 @@ int elapsedNanosecond(struct StopWatch *w)
return result;
}
char *timestamp()
char *timestamp(void)
{
char *result = NULL;