summaryrefslogtreecommitdiff
path: root/src/manp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manp.h')
-rw-r--r--src/manp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/manp.h b/src/manp.h
index 08929fea..284e606e 100644
--- a/src/manp.h
+++ b/src/manp.h
@@ -42,6 +42,10 @@ extern char *get_mandb_manpath (void);
extern char *get_catpath (const char *name, int cattype);
extern int is_global_mandir (const char *dir);
extern void read_config_file (int optional);
+#ifdef SECURE_MAN_UID
extern const char *get_def (const char *thing, const char *def);
+#else /* !SECURE_MAN_UID */
+#define get_def(thing, def) get_def_user ((thing), (def))
+#endif /* SECURE_MAN_UID */
extern const char *get_def_user (const char *thing, const char *def);
extern const char **get_sections (void);