| From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
| Date: | Sun, 24 Apr 2005 19:59:36 -0700 |
WARNS6 cleanup
Index: Makefile
===================================================================
RCS file: /ftp/pub/DragonFly/dcvs/src/games/morse/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 17 Jun 2003 04:25:24 -0000 1.2
+++ Makefile 25 Apr 2005 02:56:28 -0000
@@ -4,6 +4,7 @@
PROG= morse
MAN= morse.6
+WARNS?= 6
.if ${MACHINE_ARCH} == "i386"
CFLAGS += -DSPEAKER=\"/dev/speaker\"
Index: morse.c
===================================================================
RCS file: /ftp/pub/DragonFly/dcvs/src/games/morse/morse.c,v
retrieving revision 1.2
diff -u -r1.2 morse.c
--- morse.c 17 Jun 2003 04:25:24 -0000 1.2
+++ morse.c 25 Apr 2005 02:54:32 -0000
@@ -60,7 +60,7 @@
struct morsetab {
char inchar;
- char *morse;
+ const char *morse;
};
static const struct morsetab mtab[] = {
Attachment:
pgp00003.pgp
Description: PGP signature