summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-12-15 15:14:45 +0900
committerAndi Shyti <andi.shyti@samsung.com>2016-12-15 15:14:45 +0900
commit06f4c3336016aeb1021b69093d9c740a02c29963 (patch)
treed6497fee164431beab2c4c8e7c1d1551a92c5a1c
parent2d7b220409f395cc3a82efb7eb4abca21dbf69a2 (diff)
stmfts: declare 'fd' variable as integer
The 'fd' variable has not been declared when passed as a parameter. Declare it as integer. This mutes the following warning: stmfts.c: In function ‘stmfts_read_event’: stmfts.c:36:5: warning: type of ‘fd’ defaults to ‘int’ [-Wimplicit-int] int stmfts_read_event(fd) Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
-rw-r--r--stmfts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmfts.c b/stmfts.c
index 0e8e908..8933730 100644
--- a/stmfts.c
+++ b/stmfts.c
@@ -33,7 +33,7 @@ static int stmfts_select(const struct dirent *ep)
return 1;
}
-int stmfts_read_event(fd)
+int stmfts_read_event(int fd)
{
int ret;
struct stmfts_event sev;