aboutsummaryrefslogtreecommitdiffstats
path: root/troff/libhnj
diff options
context:
space:
mode:
Diffstat (limited to 'troff/libhnj')
-rw-r--r--troff/libhnj/Makefile.mk2
-rw-r--r--troff/libhnj/test.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/troff/libhnj/Makefile.mk b/troff/libhnj/Makefile.mk
index 0609fa08b34f..68d0d84abbc3 100644
--- a/troff/libhnj/Makefile.mk
+++ b/troff/libhnj/Makefile.mk
@@ -1,4 +1,4 @@
-FLAGS =
+FLAGS = -I../../include
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
diff --git a/troff/libhnj/test.c b/troff/libhnj/test.c
index 7b72bdc903af..3e3c8602e5fc 100644
--- a/troff/libhnj/test.c
+++ b/troff/libhnj/test.c
@@ -1,9 +1,10 @@
#include "hyphen.h"
#include <stdio.h>
#include <string.h>
+#include "global.h"
int
-main(int argc, char **argv)
+main(int argc __unused, char **argv)
{
HyphenDict *hd;
char buf[512], hbuf[512];