X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=list.c;h=0625e660f40a918b7dbfa7ed08c15f533bd7ba0c;hb=3a13f137fd5d604896bb0054edbf49541011e383;hp=030f0b80231771881a6c41bacda6d3f568eeca21;hpb=1806b665d35568d25f7d90fa17551881d21ca441;p=privoxy.git diff --git a/list.c b/list.c index 030f0b80..0625e660 100644 --- a/list.c +++ b/list.c @@ -1,4 +1,4 @@ -const char list_rcs[] = "$Id: list.c,v 1.8 2001/08/07 14:00:20 oes Exp $"; +const char list_rcs[] = "$Id: list.c,v 1.9 2001/09/16 13:20:29 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/list.c,v $ @@ -34,6 +34,11 @@ const char list_rcs[] = "$Id: list.c,v 1.8 2001/08/07 14:00:20 oes Exp $"; * * Revisions : * $Log: list.c,v $ + * Revision 1.9 2001/09/16 13:20:29 jongfoster + * Rewrite of list library. Now has seperate header and list_entry + * structures. Also added a large sprinking of assert()s to the list + * code. + * * Revision 1.8 2001/08/07 14:00:20 oes * Fixed comment * @@ -86,10 +91,15 @@ const char list_rcs[] = "$Id: list.c,v 1.8 2001/08/07 14:00:20 oes Exp $"; #include "config.h" +#ifndef _WIN32 +/* FIXME: The following headers are not needed for Win32. Are they + * needed on other platforms? + */ #include #include #include #include +#endif #include #ifndef _WIN32 @@ -99,13 +109,15 @@ const char list_rcs[] = "$Id: list.c,v 1.8 2001/08/07 14:00:20 oes Exp $"; #include #include "project.h" -#include "jcc.h" #include "list.h" #include "miscutil.h" const char list_h_rcs[] = LIST_H_VERSION; +static int list_is_valid (const struct list *the_list); + + /********************************************************************* * * Function : list_init