diff mbox

[07/32] srp_daemon: give initialize_sysfs a proper ANSI-C prototype

Message ID 1476381095-20041-8-git-send-email-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig Oct. 13, 2016, 5:51 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 srp_daemon/srp_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bart Van Assche Oct. 13, 2016, 7:05 p.m. UTC | #1
On 10/13/2016 10:51 AM, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

This is something I had not yet noticed myself. I think this means we 
will need to enable more compiler warnings for srp_daemon such that gcc 
also catches this. Anyway:

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c
index f0f05cf..6cb22e4 100644
--- a/srp_daemon/srp_daemon.c
+++ b/srp_daemon/srp_daemon.c
@@ -647,7 +647,7 @@  recv:
 	return -1;
 }
 
-static void initialize_sysfs()
+static void initialize_sysfs(void)
 {
 	char *env;