#undef LOCAL_DEBUG
-#include "ucw/lib.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
#include <string.h>
mp_pop(struct mempool *pool)
{
ASSERT(pool->state.next);
- struct mempool_state state = pool->state;
- mp_restore(pool, &state);
+ mp_restore(pool, pool->state.next);
}
#ifdef TEST
-#include "ucw/getopt.h"
+#include <ucw/getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>