1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-28 05:57:49 +03:00

Fix some forgotten -Wold-style-definition gcc warnings

This commit is contained in:
Zdenek Kabelac 2011-04-08 14:13:08 +00:00
parent 42f177b3e2
commit 34b60db59f
2 changed files with 3 additions and 2 deletions

View File

@ -334,11 +334,12 @@ static int _file_lock_resource(struct cmd_context *cmd, const char *resource,
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",

View File

@ -127,7 +127,7 @@ void fin_log(void)
}
}
void fin_syslog()
void fin_syslog(void)
{
if (_syslog)
closelog();