Deleted Added
full compact
extern.h (225736) extern.h (264047)
1/*-
2 * Copyright (c) 1991, 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

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)extern.h 8.1 (Berkeley) 6/6/93
30 *
1/*-
2 * Copyright (c) 1991, 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

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)extern.h 8.1 (Berkeley) 6/6/93
30 *
31 * $FreeBSD: stable/9/usr.bin/tail/extern.h 216370 2010-12-11 08:32:16Z joel $
31 * $FreeBSD: stable/9/usr.bin/tail/extern.h 264047 2014-04-02 17:10:17Z jh $
32 */
33
34#define WR(p, size) do { \
35 if (write(STDOUT_FILENO, p, size) != (ssize_t)size) \
36 oerr(); \
37 } while(0)
38
39#define TAILMAPLEN (4<<20)

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

62
63int bytes(FILE *, const char *, off_t);
64int lines(FILE *, const char *, off_t);
65
66void ierr(const char *);
67void oerr(void);
68int mapprint(struct mapinfo *, off_t, off_t);
69int maparound(struct mapinfo *, off_t);
32 */
33
34#define WR(p, size) do { \
35 if (write(STDOUT_FILENO, p, size) != (ssize_t)size) \
36 oerr(); \
37 } while(0)
38
39#define TAILMAPLEN (4<<20)

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

62
63int bytes(FILE *, const char *, off_t);
64int lines(FILE *, const char *, off_t);
65
66void ierr(const char *);
67void oerr(void);
68int mapprint(struct mapinfo *, off_t, off_t);
69int maparound(struct mapinfo *, off_t);
70void printfn(const char *, int);
70
71extern int Fflag, fflag, qflag, rflag, rval, no_files;
71
72extern int Fflag, fflag, qflag, rflag, rval, no_files;