summaryrefslogtreecommitdiff
path: root/usr.bin/talk
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-17 02:24:01 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-17 02:24:01 +0000
commitf4e7ed46357090ce61bed511ee4cb53fcfa67522 (patch)
tree2c26f79ad6c1190ba713dbb517a160af1e7c8a04 /usr.bin/talk
parentfede51bc6df1cd1fce250efe151ecc1cb867f1d9 (diff)
-Wall cleanup; ok deraadt
Diffstat (limited to 'usr.bin/talk')
-rw-r--r--usr.bin/talk/look_up.c5
-rw-r--r--usr.bin/talk/talk.c6
2 files changed, 7 insertions, 4 deletions
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);
}