1/*
2 * Copyright (c) 1988, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 19 unchanged lines hidden (view full) ---
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35
36__FBSDID("$FreeBSD: head/usr.bin/wall/wall.c 201224 2009-12-29 22:32:43Z ed $");
37
38#ifndef lint
39static const char copyright[] =
40"@(#) Copyright (c) 1988, 1990, 1993\n\
41 The Regents of the University of California. All rights reserved.\n";
42#endif
43
44#ifndef lint
--- 14 unchanged lines hidden (view full) ---
59#include <grp.h>
60#include <locale.h>
61#include <paths.h>
62#include <pwd.h>
63#include <stdio.h>
64#include <stdlib.h>
65#include <string.h>
66#include <time.h>
67#define _ULOG_POSIX_NAMES
68#include <ulog.h>
69#include <unistd.h>
70
71#include "ttymsg.h"
72
73static void makemsg(char *);
74static void usage(void);
75
76struct wallgroup {
77 struct wallgroup *next;
--- 232 unchanged lines hidden ---
2 * Copyright (c) 1988, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 19 unchanged lines hidden (view full) ---
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35
36__FBSDID("$FreeBSD: head/usr.bin/wall/wall.c 201224 2009-12-29 22:32:43Z ed $");
37
38#ifndef lint
39static const char copyright[] =
40"@(#) Copyright (c) 1988, 1990, 1993\n\
41 The Regents of the University of California. All rights reserved.\n";
42#endif
43
44#ifndef lint
--- 14 unchanged lines hidden (view full) ---
59#include <grp.h>
60#include <locale.h>
61#include <paths.h>
62#include <pwd.h>
63#include <stdio.h>
64#include <stdlib.h>
65#include <string.h>
66#include <time.h>
67#define _ULOG_POSIX_NAMES
68#include <ulog.h>
69#include <unistd.h>
70
71#include "ttymsg.h"
72
73static void makemsg(char *);
74static void usage(void);
75
76struct wallgroup {
77 struct wallgroup *next;
--- 232 unchanged lines hidden ---