From 997dabdb9e2e2f005252da8a9791109ac5c5dca8 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 1 Sep 2011 13:25:50 +0000 Subject: [PATCH] Keep the old-style prototypes --- daemons/common/daemon-server.h | 2 +- lib/commands/toolcontext.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemons/common/daemon-server.h b/daemons/common/daemon-server.h index a2492e40c..08a901f01 100644 --- a/daemons/common/daemon-server.h +++ b/daemons/common/daemon-server.h @@ -114,6 +114,6 @@ void daemon_start(daemon_state s); daemon_reply daemon_takeover(daemon_info i, daemon_request r); /* Call this to request a clean shutdown of the daemon. Async safe. */ -void daemon_stop(); +void daemon_stop(void); #endif diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index 8c8ac45c1..fd845b75a 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -206,7 +206,7 @@ static void _init_logging(struct cmd_context *cmd) * 856a6f1dbd8940e72755af145ebcd806408ecedd * some operations could not be performed by udev, requiring our fallback code. */ -static int _dm_driver_has_stable_udev_support() +static int _dm_driver_has_stable_udev_support(void) { char vsn[80]; unsigned maj, min, patchlevel; -- 2.43.5