summaryrefslogtreecommitdiff
path: root/lib/libedit/TEST
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-03-18 16:00:50 +0000
committerchristos <christos@NetBSD.org>2002-03-18 16:00:50 +0000
commit0e0ac6b723c2e4e089e5ebcb438b4119aa52feab (patch)
tree2783049b91e3ef3a999a3d40318af39b874b8beb /lib/libedit/TEST
parentac992d6bf732747de0acd8210735c529ed158ddb (diff)
- constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
Diffstat (limited to 'lib/libedit/TEST')
-rw-r--r--lib/libedit/TEST/test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libedit/TEST/test.c b/lib/libedit/TEST/test.c
index 267cccf21da..dc499d9fbe6 100644
--- a/lib/libedit/TEST/test.c
+++ b/lib/libedit/TEST/test.c
@@ -1,4 +1,4 @@
-/* $NetBSD: test.c,v 1.9 2000/09/04 23:36:41 lukem Exp $ */
+/* $NetBSD: test.c,v 1.10 2002/03/18 16:01:02 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include "config.h"
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n");
@@ -46,14 +46,13 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
#if 0
static char sccsid[] = "@(#)test.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: test.c,v 1.9 2000/09/04 23:36:41 lukem Exp $");
+__RCSID("$NetBSD: test.c,v 1.10 2002/03/18 16:01:02 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
/*
* test.c: A little test program
*/
-#include "sys.h"
#include <stdio.h>
#include <string.h>
#include <signal.h>