summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/test/keynames.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-21 05:30:25 +0000
committerpeter <peter@FreeBSD.org>2002-05-21 05:30:25 +0000
commit3af3b9c011ffdac94d334751c373be3ad6313419 (patch)
tree99b740ddb82010e652c5f3f3936960192d49fd76 /contrib/ncurses/test/keynames.c
parent0e8bf3d65e0e53dbc974ec0b172bcc16b84793d4 (diff)
parent9a7523d4b2c09cefef7372e8a011b8d54fb07e5e (diff)
downloadFreeBSD-src-3af3b9c011ffdac94d334751c373be3ad6313419.zip
FreeBSD-src-3af3b9c011ffdac94d334751c373be3ad6313419.tar.gz
This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/ncurses/test/keynames.c')
-rw-r--r--contrib/ncurses/test/keynames.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/ncurses/test/keynames.c b/contrib/ncurses/test/keynames.c
index 88cadd2..c2056ec 100644
--- a/contrib/ncurses/test/keynames.c
+++ b/contrib/ncurses/test/keynames.c
@@ -1,14 +1,15 @@
/*
- * $Id: keynames.c,v 1.2 1998/06/06 22:45:13 tom Exp $
+ * $Id: keynames.c,v 1.3 2001/09/15 21:46:34 tom Exp $
*/
#include <test.priv.h>
-int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED)
+int
+main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
{
- int n;
- for (n = -1; n < 512; n++) {
- printf("%d(%5o):%s\n", n, n, keyname(n));
- }
- return EXIT_SUCCESS;
+ int n;
+ for (n = -1; n < 512; n++) {
+ printf("%d(%5o):%s\n", n, n, keyname(n));
+ }
+ ExitProgram(EXIT_SUCCESS);
}
OpenPOWER on IntegriCloud