source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: getopt(3) is declared in <unistd.h>, and <getopt.h> is not
@ 2016-07-09 15:24 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-07-09 15:24 UTC (permalink / raw)
  To: source

Log Message:
-----------
getopt(3) is declared in <unistd.h>, and <getopt.h> is not needed;
from Joerg Sonnenberger via Thomas Klausner, NetBSD.

Modified Files:
--------------
    mdocml:
        demandoc.c
        mandocdb.c
        manpage.c
        mansearch.c

Revision Data
-------------
Index: mansearch.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mansearch.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -Lmansearch.c -Lmansearch.c -u -p -r1.64 -r1.65
--- mansearch.c
+++ mansearch.c
@@ -26,7 +26,6 @@
 #endif
 #include <errno.h>
 #include <fcntl.h>
-#include <getopt.h>
 #include <glob.h>
 #include <limits.h>
 #include <regex.h>
Index: manpage.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/manpage.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lmanpage.c -Lmanpage.c -u -p -r1.13 -r1.14
--- manpage.c
+++ manpage.c
@@ -20,7 +20,6 @@
 #include <sys/types.h>
 
 #include <assert.h>
-#include <getopt.h>
 #include <limits.h>
 #include <stdint.h>
 #include <stdio.h>
Index: mandocdb.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandocdb.c,v
retrieving revision 1.216
retrieving revision 1.217
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.216 -r1.217
--- mandocdb.c
+++ mandocdb.c
@@ -33,7 +33,6 @@
 #else
 #include "compat_fts.h"
 #endif
-#include <getopt.h>
 #include <limits.h>
 #include <stddef.h>
 #include <stdio.h>
Index: demandoc.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/demandoc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -Ldemandoc.c -Ldemandoc.c -u -p -r1.26 -r1.27
--- demandoc.c
+++ demandoc.c
@@ -20,7 +20,6 @@
 
 #include <assert.h>
 #include <ctype.h>
-#include <getopt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-09 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-09 15:24 mdocml: getopt(3) is declared in <unistd.h>, and <getopt.h> is not schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).