summaryrefslogtreecommitdiff
path: root/lib/cleanup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cleanup.h')
-rw-r--r--lib/cleanup.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cleanup.h b/lib/cleanup.h
index 162249ce..5415b7f1 100644
--- a/lib/cleanup.h
+++ b/lib/cleanup.h
@@ -22,9 +22,11 @@
#ifndef _CLEANUP_H
#define _CLEANUP_H
+#include <stdbool.h>
+
typedef void (*cleanup_fun) (void *);
-extern void do_cleanups_sigsafe (int);
+extern void do_cleanups_sigsafe (bool);
extern void do_cleanups (void);
extern int push_cleanup (cleanup_fun, void *, int);
extern void pop_cleanup (cleanup_fun, void *);