CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/11/07 06:57:55
Modified files: usr.bin/mandoc : html.h libman.h libmandoc.h libmdoc.h libroff.h main.h man.h manconf.h mandoc.h mandoc_aux.h mandoc_ohash.h mansearch.h mdoc.h out.h roff.h roff_int.h tag.h term.h Log message: In private header files, __BEGIN_DECLS and __END_DECLS are pointless. Because these work slightly differently on different systems, they are becoming a maintenance burden in the portable version, so delete them. Besides, one of the chief design goals of the mandoc toolbox is to make sure that nothing related to documentation requires C++. Consequently, linking mandoc against any kind of C++ program would defeat the purpose and is not supported. I don't understand why kristaps@ added them in the first place.