From 0f2b6521146c96e83387ce854425d21a4f5979fc Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Jan 2008 06:52:46 +0200 Subject: [PATCH] s-s-d: Remove redundant function declarations --- ChangeLog | 5 +++++ utils/start-stop-daemon.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 294274ad..883e4368 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-02 Guillem Jover + + * utils/start-stop-daemon.c [!__GNUC__] (fatal, badusage): Remove + redundant function declarations. + 2008-01-02 Guillem Jover * src/main.h (struct stat): New forward declaration. diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index e4bbc414..b5cf162f 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -176,15 +176,10 @@ static int pid_is_exec(pid_t pid, const struct stat *esb); #endif -#ifdef __GNUC__ static void fatal(const char *format, ...) NONRETURNING PRINTFFORMAT(1, 2); static void badusage(const char *msg) NONRETURNING; -#else -static void fatal(const char *format, ...); -static void badusage(const char *msg); -#endif /* This next part serves only to construct the TVCALC macro, which * is used for doing arithmetic on struct timeval's. It works like this: -- 2.39.5