- removes unused ctype.h headers

- ANSI'fy prototype for main() function

From: Slava Semushin <php-coder@altlinux.ru>, with minfor fixes by me
This commit is contained in:
hubertf 2007-03-10 00:22:57 +00:00
parent e4dc235f82
commit ac4dc31da1
3 changed files with 9 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkastods.c,v 1.9 2003/08/07 11:16:39 agc Exp $ */
/* $NetBSD: mkastods.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@ -31,7 +31,6 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT(
@ -43,7 +42,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)mkastods.c 4.2 (Berkeley) 4/26/91";
#else
__RCSID("$NetBSD: mkastods.c,v 1.9 2003/08/07 11:16:39 agc Exp $");
__RCSID("$NetBSD: mkastods.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $");
#endif
#endif /* not lint */
@ -53,9 +52,7 @@ __RCSID("$NetBSD: mkastods.c,v 1.9 2003/08/07 11:16:39 agc Exp $");
int main(int, char *[]);
int
main(argc, argv)
int argc;
char *argv[];
main(int argc, char *argv[])
{
int i;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkdstoas.c,v 1.9 2003/08/07 11:16:41 agc Exp $ */
/* $NetBSD: mkdstoas.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@ -31,7 +31,6 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT(
@ -43,7 +42,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)mkdstoas.c 4.2 (Berkeley) 4/26/91";
#else
__RCSID("$NetBSD: mkdstoas.c,v 1.9 2003/08/07 11:16:41 agc Exp $");
__RCSID("$NetBSD: mkdstoas.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $");
#endif
#endif /* not lint */
@ -53,9 +52,7 @@ __RCSID("$NetBSD: mkdstoas.c,v 1.9 2003/08/07 11:16:41 agc Exp $");
int main(int, char *[]);
int
main(argc, argv)
int argc;
char *argv[];
main(int argc, char *argv[])
{
int i;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkhits.c,v 1.9 2003/08/07 11:16:42 agc Exp $ */
/* $NetBSD: mkhits.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@ -31,7 +31,6 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT(
@ -43,7 +42,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)mkhits.c 4.2 (Berkeley) 4/26/91";
#else
__RCSID("$NetBSD: mkhits.c,v 1.9 2003/08/07 11:16:42 agc Exp $");
__RCSID("$NetBSD: mkhits.c,v 1.10 2007/03/10 00:22:57 hubertf Exp $");
#endif
#endif /* not lint */
@ -72,9 +71,7 @@ __RCSID("$NetBSD: mkhits.c,v 1.9 2003/08/07 11:16:42 agc Exp $");
int main(int, char *[]);
int
main(argc, argv)
int argc;
char *argv[];
main(int argc, char *argv[])
{
int scancode;
int empty;