From 06f4c3336016aeb1021b69093d9c740a02c29963 Mon Sep 17 00:00:00 2001 From: Andi Shyti Date: Thu, 15 Dec 2016 15:14:45 +0900 Subject: stmfts: declare 'fd' variable as integer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- stmfts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3