]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lists.h
First bits of installation of .pc files.
[libucw.git] / lib / lists.h
index fa9599aa9f8e943b527d9d200ea3e686d3bcb158..39036913f8d99a3d8eac7bdb0c1c1cce1ace083a 100644 (file)
@@ -1,11 +1,14 @@
 /*
 /*
- *     Sherlock Library -- Linked Lists
+ *     UCW Library -- Linked Lists
  *
  *     (c) 1997--1999 Martin Mares <mj@ucw.cz>
  *
  *     (c) 1997--1999 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     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,
 
 /*
  * I admit the list structure is very tricky and also somewhat awkward,
@@ -19,7 +22,7 @@
  *     null    head_node.prev  tail_node.next
  *     tail                    tail_node.prev
  */
  *     null    head_node.prev  tail_node.next
  *     tail                    tail_node.prev
  */
-      
+
 typedef struct node {
   struct node *next, *prev;
 } node;
 typedef struct node {
   struct node *next, *prev;
 } node;
@@ -50,7 +53,7 @@ void add_tail_list(list *, list *);
 void init_list(list *);
 void insert_node(node *, node *);
 
 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
 #define LIST_INLINE extern inline
 #include "lib/lists.c"
 #undef LIST_INLINE