summaryrefslogtreecommitdiff
path: root/PROBLEMS
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-02-29 10:35:50 +0000
committerwlemb <wlemb>2000-02-29 10:35:50 +0000
commit1e67c0310dafbfca9ed201c1653960c910a22059 (patch)
tree872526e0fa9b8501f1567bb1c3800058f76bf77b /PROBLEMS
parentefb0d77a34c0b94cbb627c877f2e3e5dffdc4ded (diff)
downloadgroff-1e67c0310dafbfca9ed201c1653960c910a22059.tar.gz
Adding GNU getopt to the groff distribution.
* src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}: New files. * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update. * aclocal.a4: Remove GROFF_GETOPT function. * configure.in, Makefile.in, PROBLEMS: Update. * src/include/lib.h: Replace getopt tests with getopt.h. * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h. * doc/groff.texinfo: Further checking/updating. Adding more index entries. * src/devices/grolbp/grolbp.man: Added a comment line at the beginning of the file (similar to shell scripts) which indicates that `tbl' should be used as a preprocessor.
Diffstat (limited to 'PROBLEMS')
-rw-r--r--PROBLEMS7
1 files changed, 3 insertions, 4 deletions
diff --git a/PROBLEMS b/PROBLEMS
index 299e23ae..59e9c0eb 100644
--- a/PROBLEMS
+++ b/PROBLEMS
@@ -48,10 +48,9 @@ should be declared as `const char *'; the first argument to fread
should be declared as `void *'; the first argument to fwrite should be
declared as `const void *'; malloc should be declared to return `void
*'; in <alloca.h>, the declaration `extern "C" { void
-*__builtin_alloca(int); }' should be added; declarations of getopt(),
-optarg, optind and opterr should be added to <stdlib.h>; in
-<sys/signal.h> the return type and the second argument type of
-signal() should be changed to be `void (*)(int)'.
+*__builtin_alloca(int); }' should be added; in <sys/signal.h> the
+return type and the second argument type of signal() should be
+changed to be `void (*)(int)'.
You can either change them in place, or copy them to some other
directory and include that directory with a -I option.