parent
c20e20ce2a
commit
af4b090320
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: login_cap.c,v 1.25 2006/10/15 19:33:03 christos Exp $ */
|
||||
/* $NetBSD: login_cap.c,v 1.26 2006/12/20 16:47:13 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: login_cap.c,v 1.25 2006/10/15 19:33:03 christos Exp $");
|
||||
__RCSID("$NetBSD: login_cap.c,v 1.26 2006/12/20 16:47:13 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -483,7 +483,7 @@ gsetrl(login_cap_t *lc, int what, const char *name, int type)
|
|||
|
||||
static int
|
||||
/*ARGSUSED*/
|
||||
envset(void *envp, const char *name, const char *value, int overwrite)
|
||||
envset(void *envp __unused, const char *name, const char *value, int overwrite)
|
||||
{
|
||||
return setenv(name, value, overwrite);
|
||||
}
|
||||
|
|
|
@ -520,7 +520,7 @@ static TABLE const MilitaryTable[] = {
|
|||
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
yyerror(const char *s)
|
||||
yyerror(const char *s __unused)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: passwd.c,v 1.44 2006/10/15 19:33:52 christos Exp $ */
|
||||
/* $NetBSD: passwd.c,v 1.45 2006/12/20 16:47:13 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1993, 1994, 1995
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: passwd.c,v 1.44 2006/10/15 19:33:52 christos Exp $");
|
||||
__RCSID("$NetBSD: passwd.c,v 1.45 2006/12/20 16:47:13 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -229,10 +229,6 @@ pw_edit(int notsetuid, const char *filename)
|
|||
const char * volatile editor;
|
||||
const char *argp[] = { "sh", "-c", NULL, NULL };
|
||||
|
||||
#ifdef __GNUC__
|
||||
(void) &editor;
|
||||
#endif
|
||||
|
||||
if (filename == NULL)
|
||||
filename = _PATH_MASTERPASSWD_LOCK;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pw_policy.c,v 1.11 2006/04/01 14:51:17 elad Exp $ */
|
||||
/* $NetBSD: pw_policy.c,v 1.12 2006/12/20 16:47:13 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright 2005, 2006 Elad Efrat <elad@NetBSD.org>
|
||||
|
@ -163,7 +163,7 @@ pw_policy_parse_range(char *range, int32_t *n, int32_t *m)
|
|||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
pw_policy_handle_len(HANDLER_ARGS)
|
||||
pw_policy_handle_len(HANDLER_ARGS __unused)
|
||||
{
|
||||
size_t len;
|
||||
|
||||
|
@ -235,7 +235,7 @@ pw_policy_handle_charclass(HANDLER_ARGS)
|
|||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
pw_policy_handle_nclasses(HANDLER_ARGS)
|
||||
pw_policy_handle_nclasses(HANDLER_ARGS __unused)
|
||||
{
|
||||
switch (flag) {
|
||||
case LOAD_POLICY:
|
||||
|
@ -278,7 +278,7 @@ pw_policy_handle_nclasses(HANDLER_ARGS)
|
|||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
pw_policy_handle_ntoggles(HANDLER_ARGS)
|
||||
pw_policy_handle_ntoggles(HANDLER_ARGS __unused)
|
||||
{
|
||||
switch (flag) {
|
||||
case LOAD_POLICY:
|
||||
|
|
Loading…
Reference in New Issue