add __unused

This commit is contained in:
Philippe Charnier 2010-12-19 13:05:17 +00:00
parent 0e1497aefd
commit f0c80f9bf7
1 changed files with 4 additions and 6 deletions

View File

@ -27,10 +27,8 @@
* SUCH DAMAGE.
*/
#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <err.h>
#include <pwd.h>
@ -136,14 +134,14 @@ possess(void)
}
void
killkids(int sig)
killkids(int sig __unused)
{
while(wait4(-1, NULL, WNOHANG, NULL) > 0)
;
}
void *
wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp)
wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp __unused)
{
static void *dummy = NULL;