- removes unused ctype.h header

- correct comment in mount_nfs/getnfsargs.c: s/Nead/Need/

From: Slava Semushin <php-coder@altlinux.ru>
This commit is contained in:
hubertf 2007-03-10 00:30:36 +00:00
parent ac4dc31da1
commit d8a2863966
12 changed files with 24 additions and 36 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.11 2006/06/05 16:51:18 christos Exp $ */
/* $NetBSD: boot.c,v 1.12 2007/03/10 00:30:36 hubertf Exp $ */
/*
* Copyright (C) 1995, 1997 Wolfgang Solfrank
@ -35,12 +35,11 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: boot.c,v 1.11 2006/06/05 16:51:18 christos Exp $");
__RCSID("$NetBSD: boot.c,v 1.12 2007/03/10 00:30:36 hubertf Exp $");
#endif /* not lint */
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: check.c,v 1.14 2006/06/05 16:51:18 christos Exp $ */
/* $NetBSD: check.c,v 1.15 2007/03/10 00:30:36 hubertf Exp $ */
/*
* Copyright (C) 1995, 1996, 1997 Wolfgang Solfrank
@ -35,12 +35,11 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: check.c,v 1.14 2006/06/05 16:51:18 christos Exp $");
__RCSID("$NetBSD: check.c,v 1.15 2007/03/10 00:30:36 hubertf Exp $");
#endif /* not lint */
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.17 2005/01/19 20:00:45 xtraeme Exp $ */
/* $NetBSD: main.c,v 1.18 2007/03/10 00:30:36 hubertf Exp $ */
/*
* Copyright (C) 1995 Wolfgang Solfrank
@ -35,12 +35,11 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: main.c,v 1.17 2005/01/19 20:00:45 xtraeme Exp $");
__RCSID("$NetBSD: main.c,v 1.18 2007/03/10 00:30:36 hubertf Exp $");
#endif /* not lint */
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fattr.c,v 1.6 2007/01/17 21:59:50 hubertf Exp $ */
/* $NetBSD: fattr.c,v 1.7 2007/03/10 00:30:36 hubertf Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -35,13 +35,12 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fattr.c,v 1.6 2007/01/17 21:59:50 hubertf Exp $");
__RCSID("$NetBSD: fattr.c,v 1.7 2007/03/10 00:30:36 hubertf Exp $");
#endif /* not lint */
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>
#include <grp.h>
#include <pwd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_ados.c,v 1.24 2007/01/17 21:59:49 hubertf Exp $ */
/* $NetBSD: mount_ados.c,v 1.25 2007/03/10 00:30:36 hubertf Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -36,13 +36,12 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mount_ados.c,v 1.24 2007/01/17 21:59:49 hubertf Exp $");
__RCSID("$NetBSD: mount_ados.c,v 1.25 2007/03/10 00:30:36 hubertf Exp $");
#endif /* not lint */
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>
#include <grp.h>
#include <pwd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_filecore.c,v 1.14 2006/10/16 03:37:42 christos Exp $ */
/* $NetBSD: mount_filecore.c,v 1.15 2007/03/10 00:30:36 hubertf Exp $ */
/*
* Copyright (c) 1992, 1993, 1994 The Regents of the University of California.
@ -82,7 +82,6 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\
#include <sys/param.h>
#include <sys/mount.h>
#include <ctype.h>
#include <err.h>
#include <grp.h>
#include <pwd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_msdos.c,v 1.40 2007/01/17 21:59:50 hubertf Exp $ */
/* $NetBSD: mount_msdos.c,v 1.41 2007/03/10 00:30:37 hubertf Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -36,14 +36,13 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mount_msdos.c,v 1.40 2007/01/17 21:59:50 hubertf Exp $");
__RCSID("$NetBSD: mount_msdos.c,v 1.41 2007/03/10 00:30:37 hubertf Exp $");
#endif /* not lint */
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <msdosfs/msdosfsmount.h>
#include <ctype.h>
#include <err.h>
#include <grp.h>
#include <pwd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: getnfsargs.c,v 1.8 2006/12/27 12:43:10 yamt Exp $ */
/* $NetBSD: getnfsargs.c,v 1.9 2007/03/10 00:30:37 hubertf Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: getnfsargs.c,v 1.8 2006/12/27 12:43:10 yamt Exp $");
__RCSID("$NetBSD: getnfsargs.c,v 1.9 2007/03/10 00:30:37 hubertf Exp $");
#endif
#endif /* not lint */
@ -68,7 +68,6 @@ __RCSID("$NetBSD: getnfsargs.c,v 1.8 2006/12/27 12:43:10 yamt Exp $");
#include <arpa/inet.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
@ -183,7 +182,7 @@ getnfsargs(char *spec, struct nfs_args *nfsargsp)
for (ai = ai_nfs; ai; ai = ai->ai_next) {
/*
* XXX. Nead a generic (family, type, proto) -> nconf interface.
* XXX. Need a generic (family, type, proto) -> nconf interface.
* __rpc_*2nconf exist, maybe they should be exported.
*/
if (nfsargsp->sotype == SOCK_STREAM) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: getnfsargs_small.c,v 1.6 2006/12/27 12:13:55 yamt Exp $ */
/* $NetBSD: getnfsargs_small.c,v 1.7 2007/03/10 00:30:37 hubertf Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: getnfsargs_small.c,v 1.6 2006/12/27 12:13:55 yamt Exp $");
__RCSID("$NetBSD: getnfsargs_small.c,v 1.7 2007/03/10 00:30:37 hubertf Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@ -108,7 +108,6 @@ __RCSID("$NetBSD: getnfsargs_small.c,v 1.6 2006/12/27 12:13:55 yamt Exp $");
#include <arpa/inet.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_nfs.c,v 1.57 2006/12/27 12:43:10 yamt Exp $ */
/* $NetBSD: mount_nfs.c,v 1.58 2007/03/10 00:30:37 hubertf Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: mount_nfs.c,v 1.57 2006/12/27 12:43:10 yamt Exp $");
__RCSID("$NetBSD: mount_nfs.c,v 1.58 2007/03/10 00:30:37 hubertf Exp $");
#endif
#endif /* not lint */
@ -63,7 +63,6 @@ __RCSID("$NetBSD: mount_nfs.c,v 1.57 2006/12/27 12:43:10 yamt Exp $");
#include <arpa/inet.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_ntfs.c,v 1.16 2007/01/17 21:59:49 hubertf Exp $ */
/* $NetBSD: mount_ntfs.c,v 1.17 2007/03/10 00:30:37 hubertf Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -35,14 +35,13 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mount_ntfs.c,v 1.16 2007/01/17 21:59:49 hubertf Exp $");
__RCSID("$NetBSD: mount_ntfs.c,v 1.17 2007/03/10 00:30:37 hubertf Exp $");
#endif
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <ntfs/ntfsmount.h>
#include <ctype.h>
#include <err.h>
#include <grp.h>
#include <pwd.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mount_udf.c,v 1.8 2007/01/17 21:59:50 hubertf Exp $ */
/* $NetBSD: mount_udf.c,v 1.9 2007/03/10 00:30:37 hubertf Exp $ */
/*
* Copyright (c) 2006 Reinoud Zandijk
@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mount_udf.c,v 1.8 2007/01/17 21:59:50 hubertf Exp $");
__RCSID("$NetBSD: mount_udf.c,v 1.9 2007/03/10 00:30:37 hubertf Exp $");
#endif /* not lint */
@ -45,7 +45,6 @@ __RCSID("$NetBSD: mount_udf.c,v 1.8 2007/01/17 21:59:50 hubertf Exp $");
#include <sys/stat.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <grp.h>