diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
| commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
| tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /gnu/usr.bin/groff/grops | |
| parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) | |
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[] = { |
