summaryrefslogtreecommitdiffstats
path: root/games/piano
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-12-12 03:22:37 +0000
committerbillf <billf@FreeBSD.org>1999-12-12 03:22:37 +0000
commit82439631b566bbf3f5bfca1d46732aaf1c38a98e (patch)
tree3a5911cd4ce305174f5c2a6ed0f87154023b0921 /games/piano
parentb66fb2c64801a0ee59e638561bfd8d3fe36b647c (diff)
downloadFreeBSD-src-82439631b566bbf3f5bfca1d46732aaf1c38a98e.zip
FreeBSD-src-82439631b566bbf3f5bfca1d46732aaf1c38a98e.tar.gz
-Wall fixes.
Diffstat (limited to 'games/piano')
-rw-r--r--games/piano/piano.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/games/piano/piano.c b/games/piano/piano.c
index 2706d10..664f434 100644
--- a/games/piano/piano.c
+++ b/games/piano/piano.c
@@ -1,7 +1,7 @@
/*
* piano.c - a piano emulator
*/
-static char rcsid[] =
+static const char rcsid[] =
"$FreeBSD$";
#include <stdio.h>
#include <stdlib.h>
@@ -136,8 +136,6 @@ nain(void)
int
main(int argc, char *argv[])
{
- extern char *optarg;
- extern int optind, opterr;
int ch, ex, show_usage = 0;
myname = argv[0];
while ((ch = getopt(argc, argv, "-vi:")) != -1) {
OpenPOWER on IntegriCloud