Skip to contentSkip to conversation

master - cleanup: gcc warning for old-style

PATCH Zdenek Kabelac 1 participant 1 message Oct 23, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=21748a86309443ddaefe1fcc0644f0b9a6ea138e
Commit:        21748a86309443ddaefe1fcc0644f0b9a6ea138e
Parent:        e5b686d6932be9931a386d15e8d452153225952b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Oct 23 09:42:38 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Oct 23 10:54:13 2015 +0200

cleanup: gcc warning for old-style

---
 lib/mm/memlock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/mm/memlock.c +1 -1
index 34a6eff..c17ae13 100644
@@ -639,7 +639,7 @@ void memlock_unlock(struct cmd_context *cmd)
 
 #endif
 
-int memlock_count_daemon()
+int memlock_count_daemon(void)
 {
 	return _memlock_count_daemon;
 }