/* -*-c-*-
*
- * $Id: pool.c,v 1.2 2003/10/12 14:44:46 mdw Exp $
+ * $Id$
*
* Resource pool handling
*
* (c) 2000 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the mLib utilities library.
*
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
- *
+ *
* mLib is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Library General Public
* License along with mLib; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: pool.c,v $
- * Revision 1.2 2003/10/12 14:44:46 mdw
- * Various fixes.
- *
- * Revision 1.1 2000/07/16 12:28:48 mdw
- * Support for resource pools, based on the Apache model.
- *
- */
-
/*----- Header files ------------------------------------------------------*/
+#include <string.h>
+
#include "align.h"
#include "alloc.h"
#include "arena.h"
* Use: Destroys a pool, freeing all of the resources within it. If
* this is a pool created by @pool_create@, its memory will be
* deallocated; if it's a subpool or it was initialized by
- * @pool_init@, it is emptied and can be used again.
+ * @pool_init@, it is emptied and can be used again.
*/
void pool_destroy(pool *p)