summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-23 22:57:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-23 22:57:56 +0000
commit236122df68662090b57f1d86596e07b36fa7aef9 (patch)
tree74bf6431e800b80a2bf8dce5abf7334c303e2282 /pop3d
parentae88f0c9aec0364d3547edf145af8d746ad06b72 (diff)
downloadmailutils-236122df68662090b57f1d86596e07b36fa7aef9.tar.gz
mailutils-236122df68662090b57f1d86596e07b36fa7aef9.tar.bz2
Use ARG_UNUSED where necessary
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/auth.c3
-rw-r--r--pop3d/signal.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/pop3d/auth.c b/pop3d/auth.c
index 88e35717e..526c943b3 100644
--- a/pop3d/auth.c
+++ b/pop3d/auth.c
@@ -20,9 +20,8 @@
/* AUTH is not yet implemented */
int
-pop3d_auth (const char *arg)
+pop3d_auth (const char *arg ARG_UNUSED)
{
- (void)arg;
if (state != AUTHORIZATION)
return ERR_WRONG_STATE;
return ERR_NOT_IMPL;
diff --git a/pop3d/signal.c b/pop3d/signal.c
index b26d65c86..e1eb41b0a 100644
--- a/pop3d/signal.c
+++ b/pop3d/signal.c
@@ -18,11 +18,10 @@
#include "pop3d.h"
RETSIGTYPE
-pop3d_sigchld (int signo)
+pop3d_sigchld (int signo ARG_UNUSED)
{
pid_t pid;
int status;
- (void)signo;
while ( (pid = waitpid(-1, &status, WNOHANG)) > 0)
--children;

Return to:

Send suggestions and report system problems to the System administrator.