summaryrefslogtreecommitdiff
path: root/src/plots.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plots.c')
-rw-r--r--src/plots.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plots.c b/src/plots.c
index 4acc4af3..f48d5658 100644
--- a/src/plots.c
+++ b/src/plots.c
@@ -70,7 +70,7 @@ void dump_hooks(int h_idx)
}
/* Check a hook */
-bool check_hook(int h_idx)
+bool_ check_hook(int h_idx)
{
hooks_chain *c = hooks_heads[h_idx];
@@ -229,7 +229,7 @@ char* get_next_arg_str(char *fmt)
/* Actually process the hooks */
int process_hooks_restart = FALSE;
hook_return process_hooks_return[20];
-static bool vprocess_hooks_return (int h_idx, char *ret, char *fmt, va_list *ap)
+static bool_ vprocess_hooks_return (int h_idx, char *ret, char *fmt, va_list *ap)
{
hooks_chain *c = hooks_heads[h_idx];
va_list real_ap;
@@ -392,10 +392,10 @@ static bool vprocess_hooks_return (int h_idx, char *ret, char *fmt, va_list *ap)
return FALSE;
}
-bool process_hooks_ret(int h_idx, char *ret, char *fmt, ...)
+bool_ process_hooks_ret(int h_idx, char *ret, char *fmt, ...)
{
va_list ap;
- bool r;
+ bool_ r;
va_start(ap, fmt);
r = vprocess_hooks_return (h_idx, ret, fmt, &ap);
@@ -403,10 +403,10 @@ bool process_hooks_ret(int h_idx, char *ret, char *fmt, ...)
return (r);
}
-bool process_hooks(int h_idx, char *fmt, ...)
+bool_ process_hooks(int h_idx, char *fmt, ...)
{
va_list ap;
- bool ret;
+ bool_ ret;
va_start(ap, fmt);
ret = vprocess_hooks_return (h_idx, "", fmt, &ap);
@@ -427,7 +427,7 @@ static void quest_describe(int q_idx)
}
/* Catch-all quest hook */
-bool quest_null_hook(int q)
+bool_ quest_null_hook(int q)
{
/* Do nothing */
return (FALSE);