diff options
author | 1995-04-22 10:08:46 +0000 | |
---|---|---|
committer | 1995-04-22 10:08:46 +0000 | |
commit | 55c4a511be47d16c259623bf0f76ddd0df0a42ac (patch) | |
tree | e405ad6985c11b21362f88ec5f2238328e3bdb57 /robots/main.c | |
parent | 5c07a4c2750120f7b7aeab4c4acfb0ff578c9827 (diff) | |
download | bsdgames-darwin-55c4a511be47d16c259623bf0f76ddd0df0a42ac.tar.gz bsdgames-darwin-55c4a511be47d16c259623bf0f76ddd0df0a42ac.tar.zst bsdgames-darwin-55c4a511be47d16c259623bf0f76ddd0df0a42ac.zip |
clean up import
Diffstat (limited to 'robots/main.c')
-rw-r--r-- | robots/main.c | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/robots/main.c b/robots/main.c index 292186fc..47a113a2 100644 --- a/robots/main.c +++ b/robots/main.c @@ -1,6 +1,8 @@ +/* $NetBSD: main.c,v 1.5 1995/04/22 10:08:54 cgd Exp $ */ + /* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,14 +34,17 @@ */ #ifndef lint -char copyright[] = -"@(#) Copyright (c) 1980 Regents of the University of California.\n\ - All rights reserved.\n"; +static char copyright[] = +"@(#) Copyright (c) 1980, 1993\n\ + The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -/*static char sccsid[] = "from: @(#)main.c 5.5 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: main.c,v 1.4 1993/08/10 15:39:40 mycroft Exp $"; +#if 0 +static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; +#else +static char rcsid[] = "$NetBSD: main.c,v 1.5 1995/04/22 10:08:54 cgd Exp $"; +#endif #endif /* not lint */ # include "robots.h" @@ -148,6 +153,13 @@ char **av; quit(); } +void +__cputchar(ch) + int ch; +{ + (void)putchar(ch); +} + /* * quit: * Leave the program elegantly. @@ -155,9 +167,7 @@ char **av; void quit() { - mvcur(0, X_SIZE - 1, Y_SIZE - 1, 0); endwin(); - printf("\n"); exit(0); /* NOTREACHED */ } |