Deleted Added
full compact
mesg.c (146466) mesg.c (200420)
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 34 unchanged lines hidden (view full) ---

43#endif /* not lint */
44
45#ifndef lint
46#if 0
47static char sccsid[] = "@(#)mesg.c 8.2 (Berkeley) 1/21/94";
48#endif
49#endif /* not lint */
50#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1987, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 34 unchanged lines hidden (view full) ---

43#endif /* not lint */
44
45#ifndef lint
46#if 0
47static char sccsid[] = "@(#)mesg.c 8.2 (Berkeley) 1/21/94";
48#endif
49#endif /* not lint */
50#include <sys/cdefs.h>
51__FBSDID("$FreeBSD: head/usr.bin/mesg/mesg.c 146466 2005-05-21 09:55:10Z ru $");
51__FBSDID("$FreeBSD: head/usr.bin/mesg/mesg.c 200420 2009-12-11 23:35:38Z delphij $");
52
53#include <sys/types.h>
54#include <sys/stat.h>
55
56#include <err.h>
57#include <stdio.h>
58#include <stdlib.h>
52
53#include <sys/types.h>
54#include <sys/stat.h>
55
56#include <err.h>
57#include <stdio.h>
58#include <stdlib.h>
59#include <string.h>
60#include <unistd.h>
61
62static void usage(void);
63
64int
65main(int argc, char *argv[])
66{
67 struct stat sb;

--- 49 unchanged lines hidden ---
59#include <unistd.h>
60
61static void usage(void);
62
63int
64main(int argc, char *argv[])
65{
66 struct stat sb;

--- 49 unchanged lines hidden ---