2008-02-22 Guillem Jover <[EMAIL PROTECTED]>
* 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
_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils