[srm-cvs] CVS Update: - Silences one build warning

From: <kalowsky[@]php.net>
Date: Sun Feb 24 2002 - 04:58:55 CET

Date: Sun Feb 24 04:58:52 CET 2002
User: Dan Kalowsky
Directory: srm/main/src

Log Message:
 [0.04]
 - Silences one build warning
 # might be worth trying to figure out why it keeps being redefined though
 
 
Modified files:
           srm/main/src/srm_llist.h (version: 1.8)

[FILE: /srm/main/src/srm_llist.h]

--- srm/main/src/srm_llist.h:1.7 Sun Feb 10 18:54:28 2002 GMT
+++ srm/main/src/srm_llist.h Sun Feb 24 02:58:52 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.7 2002/02/10 19:54:28 sterling Exp $ */
+/* $Id: cvstemp,v 1.8 2002/02/24 03:58:52 kalowsky Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -17,6 +17,7 @@
  * 2000, 2001, 2002 Vulcan Logic Group. All Rights Reserved.
  *
  * Contributor(s): Sterling Hughes <sterling@php.net>
+ * Daniel R. Kalowsky <dank@deadmime.org>
  */
 
 #ifndef __SRM_LLIST_H__
@@ -51,8 +52,13 @@
 size_t srm_llist_count(srm_llist *l);
 void srm_llist_destroy(srm_llist *l, void *user);
 
+#if !defined(LIST_HEAD)
 #define LIST_HEAD 0
+#endif
+
+#if !defined(LIST_TAIL)
 #define LIST_TAIL 1
+#endif
 
 #define SRM_LLIST_HEAD(__l) ((__l)->head)
 #define SRM_LLIST_TAIL(__l) ((__l)->tail)
Received on Sun Feb 24 04:59:15 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 11:00:06 CET