Deleted Added
full compact
lst.h (50477) lst.h (69527)
1/*
2 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
3 * Copyright (c) 1988, 1989 by Adam de Boor
4 * Copyright (c) 1989 by Berkeley Softworks
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)lst.h 8.1 (Berkeley) 6/6/93
1/*
2 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
3 * Copyright (c) 1988, 1989 by Adam de Boor
4 * Copyright (c) 1989 by Berkeley Softworks
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)lst.h 8.1 (Berkeley) 6/6/93
39 * $FreeBSD: head/usr.bin/make/lst.h 50477 1999-08-28 01:08:13Z peter $
39 * $FreeBSD: head/usr.bin/make/lst.h 69527 2000-12-02 18:58:01Z will $
40 */
41
42/*-
43 * lst.h --
44 * Header for using the list library
45 */
46#ifndef _LST_H_
47#define _LST_H_

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

54
55/*
56 * basic typedef. This is what the Lst_ functions handle
57 */
58
59typedef struct Lst *Lst;
60typedef struct LstNode *LstNode;
61
40 */
41
42/*-
43 * lst.h --
44 * Header for using the list library
45 */
46#ifndef _LST_H_
47#define _LST_H_

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

54
55/*
56 * basic typedef. This is what the Lst_ functions handle
57 */
58
59typedef struct Lst *Lst;
60typedef struct LstNode *LstNode;
61
62#define NILLST ((Lst) NIL)
63#define NILLNODE ((LstNode) NIL)
64
65/*
66 * NOFREE can be used as the freeProc to Lst_Destroy when the elements are
67 * not to be freed.
68 * NOCOPY performs similarly when given as the copyProc to Lst_Duplicate.
69 */
70#define NOFREE ((void (*) __P((ClientData))) 0)
71#define NOCOPY ((ClientData (*) __P((ClientData))) 0)
72

--- 93 unchanged lines hidden ---
62/*
63 * NOFREE can be used as the freeProc to Lst_Destroy when the elements are
64 * not to be freed.
65 * NOCOPY performs similarly when given as the copyProc to Lst_Duplicate.
66 */
67#define NOFREE ((void (*) __P((ClientData))) 0)
68#define NOCOPY ((ClientData (*) __P((ClientData))) 0)
69

--- 93 unchanged lines hidden ---