Deleted Added
full compact
display.c (99965) display.c (108533)
1/*
2 * Copyright (c) 1983, 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
1/*
2 * Copyright (c) 1983, 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/talk/display.c 99965 2002-07-14 14:08:43Z luigi $");
36__FBSDID("$FreeBSD: head/usr.bin/talk/display.c 108533 2003-01-01 18:49:04Z schweikh $");
37
38#ifndef lint
39static const char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93";
40#endif
41
42/*
43 * The window 'manager', initializes curses and handles the actual
44 * displaying of text

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

50xwin_t my_win;
51xwin_t his_win;
52WINDOW *line_win;
53
54int curses_initialized = 0;
55
56/*
57 * max HAS to be a function, it is called with
37
38#ifndef lint
39static const char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93";
40#endif
41
42/*
43 * The window 'manager', initializes curses and handles the actual
44 * displaying of text

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

50xwin_t my_win;
51xwin_t his_win;
52WINDOW *line_win;
53
54int curses_initialized = 0;
55
56/*
57 * max HAS to be a function, it is called with
58 * a argument of the form --foo at least once.
58 * an argument of the form --foo at least once.
59 */
60int
61max(a,b)
62 int a, b;
63{
64
65 return (a > b ? a : b);
66}

--- 130 unchanged lines hidden ---
59 */
60int
61max(a,b)
62 int a, b;
63{
64
65 return (a > b ? a : b);
66}

--- 130 unchanged lines hidden ---