aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/talk/talk.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-12-11 23:51:14 +0000
committerMark Murray <markm@FreeBSD.org>2001-12-11 23:51:14 +0000
commitcaa648017bbb26224de634bf4c9b6a9932e34e1d (patch)
treef29bbbc79d4e1b190fcac1c308cb1862054576e2 /usr.bin/talk/talk.c
parented155aba4aeaf9a231a00942c45665c130ab030b (diff)
downloadsrc-caa648017bbb26224de634bf4c9b6a9932e34e1d.tar.gz
src-caa648017bbb26224de634bf4c9b6a9932e34e1d.zip
WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().
Notes
Notes: svn path=/head/; revision=87710
Diffstat (limited to 'usr.bin/talk/talk.c')
-rw-r--r--usr.bin/talk/talk.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c
index d71d49ae2b7d..c59c96cb4ec0 100644
--- a/usr.bin/talk/talk.c
+++ b/usr.bin/talk/talk.c
@@ -31,23 +31,24 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
+#ifndef lint
+static const char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93";
+#endif
+
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1983, 1993\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
-#include "talk.h"
#include <locale.h>
+#include "talk.h"
+
/*
* talk: A visual form of write. Using sockets, a two way
* connection is set up between the two people talking.