diff options
Diffstat (limited to 'gnu/usr.bin/groff/grops')
| -rw-r--r-- | gnu/usr.bin/groff/grops/Makefile | 1 | ||||
| -rw-r--r-- | gnu/usr.bin/groff/grops/psrm.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/grops/Makefile b/gnu/usr.bin/groff/grops/Makefile index 2877e49a2cee..eba9bc72f898 100644 --- a/gnu/usr.bin/groff/grops/Makefile +++ b/gnu/usr.bin/groff/grops/Makefile @@ -3,6 +3,7 @@ PROG= grops SRCS= ps.cc psrm.cc CFLAGS+= -I$(.CURDIR)/../include +CXXFLAGS+= -I$(.CURDIR)/../include LDADD+= $(LIBDRIVER) $(LIBGROFF) -lm DPADD+= $(LIBDRIVER) $(LIBGROFF) $(LIBMATH) diff --git a/gnu/usr.bin/groff/grops/psrm.cc b/gnu/usr.bin/groff/grops/psrm.cc index e26acf4b15c5..5abe683f7213 100644 --- a/gnu/usr.bin/groff/grops/psrm.cc +++ b/gnu/usr.bin/groff/grops/psrm.cc @@ -873,9 +873,10 @@ void resource_manager::process_file(int rank, FILE *fp, const char *filename, const int NHEADER_COMMENTS = (sizeof(header_comment_table) / sizeof(header_comment_table[0])); + typedef (resource_manager::*resource_manager_mfp)(const char *, int, FILE *, FILE *); struct comment_info { const char *name; - int (resource_manager::*proc)(const char *, int, FILE *, FILE *); + resource_manager_mfp proc; }; static comment_info comment_table[] = { |
