summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/jobs.h')
-rw-r--r--crawl-ref/source/jobs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/jobs.h b/crawl-ref/source/jobs.h
index 70d87ab67b..4b02ac149b 100644
--- a/crawl-ref/source/jobs.h
+++ b/crawl-ref/source/jobs.h
@@ -10,4 +10,7 @@ int get_class_index_by_name(const char *name);
const char *get_class_name(int which_job);
job_type get_class_by_name(const char *name);
+// job_type bounds checking.
+bool is_valid_job(job_type job);
+
#endif