projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed a lot of ints to bools.
[pspp-builds.git]
/
src
/
libpspp
/
pool.h
diff --git
a/src/libpspp/pool.h
b/src/libpspp/pool.h
index fe4af29b73c4bcdccc77d1df03d8de21944c1432..7dab5b47e4978806926b1e914667fa0483aa562f 100644
(file)
--- a/
src/libpspp/pool.h
+++ b/
src/libpspp/pool.h
@@
-22,6
+22,7
@@
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdbool.h>
#include "compiler.h"
/* Maximum size of a suballocated block. Larger blocks are allocated
#include "compiler.h"
/* Maximum size of a suballocated block. Larger blocks are allocated
@@
-90,7
+91,7
@@
void pool_detach_file (struct pool *, FILE *);
/* Custom allocations. */
void pool_register (struct pool *, void (*free) (void *), void *p);
/* Custom allocations. */
void pool_register (struct pool *, void (*free) (void *), void *p);
-
int
pool_unregister (struct pool *, void *);
+
bool
pool_unregister (struct pool *, void *);
/* Partial freeing. */
void pool_mark (struct pool *, struct pool_mark *);
/* Partial freeing. */
void pool_mark (struct pool *, struct pool_mark *);