Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.bin/tn3270/tools/mkhits Pull up revision 1.7-1.8 (r...
details: https://anonhg.NetBSD.org/src/rev/966c391118b2
branches: netbsd-1-6
changeset: 529610:966c391118b2
user: he <he%NetBSD.org@localhost>
date: Sun Dec 01 12:21:15 2002 +0000
description:
Pull up revision 1.7-1.8 (requested by thorpej in ticket #821):
Make the tn3270 host tools build on non-BSD systems.
Also, remove some non-__STDC__ handling.
diffstat:
usr.bin/tn3270/tools/mkhits/mkhits.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r 1aba7a1948d6 -r 966c391118b2 usr.bin/tn3270/tools/mkhits/mkhits.c
--- a/usr.bin/tn3270/tools/mkhits/mkhits.c Sun Dec 01 12:20:49 2002 +0000
+++ b/usr.bin/tn3270/tools/mkhits/mkhits.c Sun Dec 01 12:21:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkhits.c,v 1.6 2002/01/31 19:36:52 tv Exp $ */
+/* $NetBSD: mkhits.c,v 1.6.2.1 2002/12/01 12:21:15 he Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -33,7 +33,10 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include <stdio.h>
+#include <string.h>
+#include <ctype.h>
+
#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT(
"@(#) Copyright (c) 1988 The Regents of the University of California.\n\
@@ -44,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)mkhits.c 4.2 (Berkeley) 4/26/91";
#else
-__RCSID("$NetBSD: mkhits.c,v 1.6 2002/01/31 19:36:52 tv Exp $");
+__RCSID("$NetBSD: mkhits.c,v 1.6.2.1 2002/12/01 12:21:15 he Exp $");
#endif
#endif /* not lint */
@@ -66,14 +69,11 @@
* all fields are separated by a single space.
*/
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include "../ctlr/function.h"
#include "dohits.h"
-int main __P((int, char *[]));
+int main(int, char *[]);
int
main(argc, argv)
Home |
Main Index |
Thread Index |
Old Index