[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib locking/file_locking.c log/log.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2011-04-08 14:13:08

Modified files:
	lib/locking    : file_locking.c 
	lib/log        : log.c 

Log message:
	Fix some forgotten -Wold-style-definition gcc warnings

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/file_locking.c.diff?cvsroot=lvm2&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/log/log.c.diff?cvsroot=lvm2&r1=1.62&r2=1.63

--- LVM2/lib/locking/file_locking.c	2011/02/18 00:36:05	1.58
+++ LVM2/lib/locking/file_locking.c	2011/04/08 14:13:08	1.59
@@ -334,11 +334,12 @@
 
 int init_file_locking(struct locking_type *locking, struct cmd_context *cmd)
 {
+	int r;
+
 	locking->lock_resource = _file_lock_resource;
 	locking->reset_locking = _reset_file_locking;
 	locking->fin_locking = _fin_file_locking;
 	locking->flags = 0;
-	int r;
 
 	/* Get lockfile directory from config file */
 	strncpy(_lock_dir, find_config_tree_str(cmd, "global/locking_dir",
--- LVM2/lib/log/log.c	2011/03/30 12:53:04	1.62
+++ LVM2/lib/log/log.c	2011/04/08 14:13:08	1.63
@@ -127,7 +127,7 @@
 	}
 }
 
-void fin_syslog()
+void fin_syslog(void)
 {
 	if (_syslog)
 		closelog();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]