[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] [PATCH] Mark unused function arguments with ARG_UNUSED
From: |
Guillem Jover |
Subject: |
[bug-inetutils] [PATCH] Mark unused function arguments with ARG_UNUSED |
Date: |
Fri, 22 Feb 2008 05:59:11 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
2008-02-22 Guillem Jover <address@hidden>
* syslogd/syslogd.c (init): Add ARG_UNUSED attribute to SIGNO
argument.
(domark): Likewise. Remove now unneeded no-op SIGNO statement.
---
syslogd/syslogd.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/syslogd/syslogd.c b/syslogd/syslogd.c
index 615ce46..0b88f8e 100644
--- a/syslogd/syslogd.c
+++ b/syslogd/syslogd.c
@@ -1489,11 +1489,10 @@ cvthname (struct sockaddr_in *f)
}
void
-domark (int signo)
+domark (int signo ARG_UNUSED)
{
struct filed *f;
- signo; /* Ignored. */
now = time ((time_t *) NULL);
if (MarkInterval > 0)
{
@@ -1577,7 +1576,7 @@ die (int signo)
/* INIT -- Initialize syslogd from configuration table. */
RETSIGTYPE
-init (int signo)
+init (int signo ARG_UNUSED)
{
FILE *cf;
struct filed *f, *next, **nextp;
--
1.5.4.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-inetutils] [PATCH] Mark unused function arguments with ARG_UNUSED,
Guillem Jover <=