Fix redundant glTexEnv calls
[neverball] / share / list.h
1 /*
2  * Copyright (C) 2009 Neverball authors
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #ifndef LIST_H
16 #define LIST_H
17
18 struct list
19 {
20     void        *data;
21     struct list *next;
22 };
23
24 typedef struct list *List;
25
26 List list_cons(void *, List);
27 List list_rest(List);
28
29 #endif