X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Flists.h;h=39036913f8d99a3d8eac7bdb0c1c1cce1ace083a;hb=08ec58075cd87236ea502c2c3b89e38126478167;hp=68c7497f1cde8dcae6415050f839c8df406d84ca;hpb=49ed04e2e93a6a5b01058638224621d5c07db01c;p=libucw.git diff --git a/lib/lists.h b/lib/lists.h index 68c7497f..39036913 100644 --- a/lib/lists.h +++ b/lib/lists.h @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Linked Lists + * UCW Library -- Linked Lists * * (c) 1997--1999 Martin Mares * @@ -7,8 +7,8 @@ * of the GNU Lesser General Public License. */ -#ifndef _SHERLOCK_LISTS_H -#define _SHERLOCK_LISTS_H +#ifndef _UCW_LISTS_H +#define _UCW_LISTS_H /* * I admit the list structure is very tricky and also somewhat awkward, @@ -22,7 +22,7 @@ * null head_node.prev tail_node.next * tail tail_node.prev */ - + typedef struct node { struct node *next, *prev; } node; @@ -53,7 +53,7 @@ void add_tail_list(list *, list *); void init_list(list *); void insert_node(node *, node *); -#if !defined(_SHERLOCK_LISTS_C) && defined(__GNUC__) +#if !defined(_UCW_LISTS_C) && defined(__GNUC__) #define LIST_INLINE extern inline #include "lib/lists.c" #undef LIST_INLINE