summaryrefslogtreecommitdiff
path: root/troff/troff.d/fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'troff/troff.d/fontmap.c')
-rw-r--r--troff/troff.d/fontmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/troff/troff.d/fontmap.c b/troff/troff.d/fontmap.c
index afe8b44afdb8..0ba21280b5d7 100644
--- a/troff/troff.d/fontmap.c
+++ b/troff/troff.d/fontmap.c
@@ -46,7 +46,7 @@ static char *filepath;
static char *bufp;
static char *bufe;
-struct bst map = {
+static struct bst map = {
NULL,
mapcmp
};
@@ -94,8 +94,8 @@ rdftmap(char *path) {
free(buf);
}
-char *
-mapft(char *name) {
+const char *
+mapft(const char *name) {
struct bst_node *n;
if (map.root && !bst_srch(&map, (union bst_val)(void *)name, &n))
name = n->data.p;