diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2016-12-15 15:14:45 +0900 |
---|---|---|
committer | Andi Shyti <andi.shyti@samsung.com> | 2016-12-15 15:14:45 +0900 |
commit | 06f4c3336016aeb1021b69093d9c740a02c29963 (patch) | |
tree | d6497fee164431beab2c4c8e7c1d1551a92c5a1c /stmfts.c | |
parent | 2d7b220409f395cc3a82efb7eb4abca21dbf69a2 (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>
Diffstat (limited to 'stmfts.c')
-rw-r--r-- | stmfts.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |