source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: libmdoc.h and libman.h were including mdoc.h and man.h,
@ 2011-03-22 14:33 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-03-22 14:33 UTC (permalink / raw)
  To: source

Log Message:
-----------
libmdoc.h and libman.h were including mdoc.h and man.h, respectively.
Don't have them do that (includes in header files = faugh), and have
individual files directly include these files.

Modified Files:
--------------
    mdocml:
        arch.c
        att.c
        lib.c
        libman.h
        libmdoc.h
        man.c
        man_argv.c
        man_hash.c
        man_macro.c
        man_validate.c
        mdoc.c
        mdoc_argv.c
        mdoc_hash.c
        mdoc_macro.c
        mdoc_validate.c
        msec.c
        st.c
        vol.c

Revision Data
-------------
Index: mdoc_hash.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_hash.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -Lmdoc_hash.c -Lmdoc_hash.c -u -p -r1.16 -r1.17
--- mdoc_hash.c
+++ mdoc_hash.c
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: arch.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/arch.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Larch.c -Larch.c -u -p -r1.8 -r1.9
--- arch.c
+++ arch.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: libman.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/libman.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -Llibman.h -Llibman.h -u -p -r1.47 -r1.48
--- libman.h
+++ libman.h
@@ -17,8 +17,6 @@
 #ifndef LIBMAN_H
 #define LIBMAN_H
 
-#include "man.h"
-
 enum	man_next {
 	MAN_NEXT_SIBLING = 0,
 	MAN_NEXT_CHILD
Index: vol.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/vol.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lvol.c -Lvol.c -u -p -r1.8 -r1.9
--- vol.c
+++ vol.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: mdoc_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_validate.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.164 -r1.165
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -33,6 +33,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 #include "libmandoc.h"
Index: lib.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/lib.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Llib.c -Llib.c -u -p -r1.8 -r1.9
--- lib.c
+++ lib.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: man_argv.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_argv.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -Lman_argv.c -Lman_argv.c -u -p -r1.6 -r1.7
--- man_argv.c
+++ man_argv.c
@@ -22,10 +22,10 @@
 
 #include <assert.h>
 
+#include "man.h"
 #include "mandoc.h"
 #include "libman.h"
 #include "libmandoc.h"
-
 
 int
 man_args(struct man *m, int line, int *pos, char *buf, char **v)
Index: st.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/st.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lst.c -Lst.c -u -p -r1.8 -r1.9
--- st.c
+++ st.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: mdoc_argv.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_argv.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -Lmdoc_argv.c -Lmdoc_argv.c -u -p -r1.71 -r1.72
--- mdoc_argv.c
+++ mdoc_argv.c
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 #include "libmandoc.h"
Index: man_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_validate.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -Lman_validate.c -Lman_validate.c -u -p -r1.65 -r1.66
--- man_validate.c
+++ man_validate.c
@@ -30,6 +30,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "man.h"
 #include "mandoc.h"
 #include "libman.h"
 #include "libmandoc.h"
Index: libmdoc.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/libmdoc.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -Llibmdoc.h -Llibmdoc.h -u -p -r1.71 -r1.72
--- libmdoc.h
+++ libmdoc.h
@@ -17,8 +17,6 @@
 #ifndef LIBMDOC_H
 #define LIBMDOC_H
 
-#include "mdoc.h"
-
 enum	mdoc_next {
 	MDOC_NEXT_SIBLING = 0,
 	MDOC_NEXT_CHILD
Index: man.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -Lman.c -Lman.c -u -p -r1.104 -r1.105
--- man.c
+++ man.c
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "man.h"
 #include "mandoc.h"
 #include "libman.h"
 #include "libmandoc.h"
Index: mdoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -Lmdoc.c -Lmdoc.c -u -p -r1.186 -r1.187
--- mdoc.c
+++ mdoc.c
@@ -28,6 +28,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 #include "libmandoc.h"
Index: att.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/att.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Latt.c -Latt.c -u -p -r1.8 -r1.9
--- att.c
+++ att.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: mdoc_macro.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_macro.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.105 -r1.106
--- mdoc_macro.c
+++ mdoc_macro.c
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 #include "libmandoc.h"
Index: man_hash.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_hash.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -Lman_hash.c -Lman_hash.c -u -p -r1.23 -r1.24
--- man_hash.c
+++ man_hash.c
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "man.h"
 #include "mandoc.h"
 #include "libman.h"
 
Index: msec.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/msec.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lmsec.c -Lmsec.c -u -p -r1.8 -r1.9
--- msec.c
+++ msec.c
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "mdoc.h"
 #include "mandoc.h"
 #include "libmdoc.h"
 
Index: man_macro.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_macro.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -Lman_macro.c -Lman_macro.c -u -p -r1.57 -r1.58
--- man_macro.c
+++ man_macro.c
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "man.h"
 #include "mandoc.h"
 #include "libmandoc.h"
 #include "libman.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:[~2011-03-22 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 14:33 mdocml: libmdoc.h and libman.h were including mdoc.h and man.h, kristaps

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).