[PATCH] games/morse cleanup

看板DFBSD_submit作者時間20年前 (2005/04/25 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
--yhCE4sTDB5mqd9YJ Content-Type: multipart/mixed; boundary="BfIB/hDtUWEgpOfz" Content-Disposition: inline --BfIB/hDtUWEgpOfz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =20 --BfIB/hDtUWEgpOfz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="morse.patch" Content-Transfer-Encoding: quoted-printable WARNS6 cleanup Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ =20 PROG=3D morse MAN=3D morse.6 +WARNS?=3D 6 =20 .if ${MACHINE_ARCH} =3D=3D "i386" CFLAGS +=3D -DSPEAKER=3D\"/dev/speaker\" Index: morse.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ =20 struct morsetab { char inchar; - char *morse; + const char *morse; }; =20 static const struct morsetab mtab[] =3D { --BfIB/hDtUWEgpOfz-- --yhCE4sTDB5mqd9YJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCbF0YKjaxugguz8URAoaYAJ9+G6sGp9RqPolpmXkrv1VwJTcJsQCglSyY XGmFNJGhz7r9ov31ww9iKXo= =Mjb4 -----END PGP SIGNATURE----- --yhCE4sTDB5mqd9YJ--
文章代碼(AID): #12R6Iv00 (DFBSD_submit)
文章代碼(AID): #12R6Iv00 (DFBSD_submit)