summaryrefslogtreecommitdiffstats
path: root/usr.bin/chat
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
committerarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
commit167c036e91fb24a62d627d16a2f3afa6d875c9e2 (patch)
treee40a696092a51458b052ff258b3700d51fc2ca09 /usr.bin/chat
parent3f56407712318be6faa0b98ad8db4b5a83ef4c93 (diff)
downloadFreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.zip
FreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.tar.gz
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Diffstat (limited to 'usr.bin/chat')
-rw-r--r--usr.bin/chat/Makefile3
-rw-r--r--usr.bin/chat/chat.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/chat/Makefile b/usr.bin/chat/Makefile
index ab4129e..1154024 100644
--- a/usr.bin/chat/Makefile
+++ b/usr.bin/chat/Makefile
@@ -1,6 +1,7 @@
-# $Id: Makefile,v 1.4 1997/02/22 19:54:21 peter Exp $
+# $Id: Makefile,v 1.5 1997/08/22 15:42:31 peter Exp $
PROG= chat
+CFLAGS+=-Wall
SRCS= chat.c
MAN8= chat.8
diff --git a/usr.bin/chat/chat.c b/usr.bin/chat/chat.c
index f3676aa0..c25b8cf 100644
--- a/usr.bin/chat/chat.c
+++ b/usr.bin/chat/chat.c
@@ -78,7 +78,8 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: chat.c,v 1.11 1998/03/21 20:47:04 peter Exp $";
+static const char rcsid[] =
+ "$Id: chat.c,v 1.12 1998/06/23 21:58:41 peter Exp $";
#endif
#include <stdio.h>
OpenPOWER on IntegriCloud