From f4e7ed46357090ce61bed511ee4cb53fcfa67522 Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Tue, 17 Jul 2001 02:24:01 +0000 Subject: -Wall cleanup; ok deraadt --- usr.bin/talk/look_up.c | 5 +++-- usr.bin/talk/talk.c | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'usr.bin/talk') diff --git a/usr.bin/talk/look_up.c b/usr.bin/talk/look_up.c index e31825ea744..79a7352a16c 100644 --- a/usr.bin/talk/look_up.c +++ b/usr.bin/talk/look_up.c @@ -1,4 +1,4 @@ -/* $OpenBSD: look_up.c,v 1.6 1999/03/03 20:43:30 millert Exp $ */ +/* $OpenBSD: look_up.c,v 1.7 2001/07/17 02:23:58 pvalchev Exp $ */ /* $NetBSD: look_up.c,v 1.3 1994/12/09 02:14:21 jtc Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: look_up.c,v 1.6 1999/03/03 20:43:30 millert Exp $"; +static char rcsid[] = "$OpenBSD: look_up.c,v 1.7 2001/07/17 02:23:58 pvalchev Exp $"; #endif /* not lint */ #include "talk.h" @@ -92,6 +92,7 @@ check_local() } quit("Unable to connect with initiator", 1); /*NOTREACHED*/ + return (0); } /* diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c index c662ef5511c..b58b236662c 100644 --- a/usr.bin/talk/talk.c +++ b/usr.bin/talk/talk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: talk.c,v 1.4 1998/08/18 04:02:24 millert Exp $ */ +/* $OpenBSD: talk.c,v 1.5 2001/07/17 02:23:58 pvalchev Exp $ */ /* $NetBSD: talk.c,v 1.3 1994/12/09 02:14:25 jtc Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: talk.c,v 1.4 1998/08/18 04:02:24 millert Exp $"; +static char rcsid[] = "$OpenBSD: talk.c,v 1.5 2001/07/17 02:23:58 pvalchev Exp $"; #endif /* not lint */ #include "talk.h" @@ -78,4 +78,6 @@ main(argc, argv) end_msgs(); set_edit_chars(); talk(); + /* NOTREACHED */ + return (0); } -- cgit v1.2.3