Deleted Added
full compact
hist.c (296175) hist.c (296435)
1/* $NetBSD: hist.c,v 1.24 2016/02/16 22:53:14 christos Exp $ */
1/* $NetBSD: hist.c,v 1.20 2011/07/29 15:16:33 christos Exp $ */
2
3/*-
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Christos Zoulas of Cornell University.
9 *

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

32 * SUCH DAMAGE.
33 */
34
35#include "config.h"
36#if !defined(lint) && !defined(SCCSID)
37#if 0
38static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 6/4/93";
39#else
2
3/*-
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Christos Zoulas of Cornell University.
9 *

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

32 * SUCH DAMAGE.
33 */
34
35#include "config.h"
36#if !defined(lint) && !defined(SCCSID)
37#if 0
38static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 6/4/93";
39#else
40__RCSID("$NetBSD: hist.c,v 1.24 2016/02/16 22:53:14 christos Exp $");
40__RCSID("$NetBSD: hist.c,v 1.20 2011/07/29 15:16:33 christos Exp $");
41#endif
42#endif /* not lint && not SCCSID */
43#include <sys/cdefs.h>
41#endif
42#endif /* not lint && not SCCSID */
43#include <sys/cdefs.h>
44__FBSDID("$FreeBSD: head/lib/libedit/hist.c 296175 2016-02-29 00:15:25Z pfg $");
44__FBSDID("$FreeBSD: head/lib/libedit/hist.c 296435 2016-03-06 21:32:54Z pfg $");
45
46/*
47 * hist.c: History access functions
48 */
49#include <stdlib.h>
45
46/*
47 * hist.c: History access functions
48 */
49#include <stdlib.h>
50#include <string.h>
51
52#include "el.h"
53
54/* hist_init():
55 * Initialization function.
56 */
57protected int
58hist_init(EditLine *el)
59{

--- 168 unchanged lines hidden ---
50#include "el.h"
51
52/* hist_init():
53 * Initialization function.
54 */
55protected int
56hist_init(EditLine *el)
57{

--- 168 unchanged lines hidden ---