- 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:
parent
e4dc235f82
commit
ac4dc31da1
@ -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.
|
* Copyright (c) 1988 The Regents of the University of California.
|
||||||
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#if defined(__COPYRIGHT) && !defined(lint)
|
#if defined(__COPYRIGHT) && !defined(lint)
|
||||||
__COPYRIGHT(
|
__COPYRIGHT(
|
||||||
@ -43,7 +42,7 @@ __COPYRIGHT(
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)mkastods.c 4.2 (Berkeley) 4/26/91";
|
static char sccsid[] = "@(#)mkastods.c 4.2 (Berkeley) 4/26/91";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#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(int, char *[]);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(int argc, char *argv[])
|
||||||
int argc;
|
|
||||||
char *argv[];
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -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.
|
* Copyright (c) 1988 The Regents of the University of California.
|
||||||
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#if defined(__COPYRIGHT) && !defined(lint)
|
#if defined(__COPYRIGHT) && !defined(lint)
|
||||||
__COPYRIGHT(
|
__COPYRIGHT(
|
||||||
@ -43,7 +42,7 @@ __COPYRIGHT(
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)mkdstoas.c 4.2 (Berkeley) 4/26/91";
|
static char sccsid[] = "@(#)mkdstoas.c 4.2 (Berkeley) 4/26/91";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#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(int, char *[]);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(int argc, char *argv[])
|
||||||
int argc;
|
|
||||||
char *argv[];
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -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.
|
* Copyright (c) 1988 The Regents of the University of California.
|
||||||
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#if defined(__COPYRIGHT) && !defined(lint)
|
#if defined(__COPYRIGHT) && !defined(lint)
|
||||||
__COPYRIGHT(
|
__COPYRIGHT(
|
||||||
@ -43,7 +42,7 @@ __COPYRIGHT(
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)mkhits.c 4.2 (Berkeley) 4/26/91";
|
static char sccsid[] = "@(#)mkhits.c 4.2 (Berkeley) 4/26/91";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#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(int, char *[]);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(int argc, char *argv[])
|
||||||
int argc;
|
|
||||||
char *argv[];
|
|
||||||
{
|
{
|
||||||
int scancode;
|
int scancode;
|
||||||
int empty;
|
int empty;
|
||||||
|
Loading…
Reference in New Issue
Block a user