[PATCH] games/morse cleanup

Peter Avalos pavalos at theshell.com
Sun Apr 24 20:00:54 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050424/4310a3a7/attachment-0016.obj>


More information about the Submit mailing list