summaryrefslogtreecommitdiff
path: root/srcpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'srcpos.c')
-rw-r--r--srcpos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcpos.c b/srcpos.c
index c20bc53..294568b 100644
--- a/srcpos.c
+++ b/srcpos.c
@@ -159,7 +159,7 @@ void srcfile_push(const char *fname)
current_srcfile = srcfile;
}
-int srcfile_pop(void)
+bool srcfile_pop(void)
{
struct srcfile_state *srcfile = current_srcfile;
@@ -177,7 +177,7 @@ int srcfile_pop(void)
* fix this we could either allocate all the files from a
* table, or use a pool allocator. */
- return current_srcfile ? 1 : 0;
+ return current_srcfile ? true : false;
}
void srcfile_add_search_path(const char *dirname)