Wed, 31 Aug 2016 14:47:01 +0200
fixes ancient header macro
src/c2html.h | file | annotate | diff | comparison | revisions | |
src/highlighter.h | file | annotate | diff | comparison | revisions |
--- a/src/c2html.h Wed Aug 31 14:41:56 2016 +0200 +++ b/src/c2html.h Wed Aug 31 14:47:01 2016 +0200 @@ -28,12 +28,12 @@ */ #ifndef C2HTML_H -#define C2HTML_H +#define C2HTML_H #include <stdio.h> #include "highlighter.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -138,9 +138,9 @@ void c2html_fformat_file(FILE *inputfile, char *ibuf, size_t ibuflen, FILE* outputfile, c2html_highlighter_func hltr, int showln); -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* C2HTML_H */ +#endif /* C2HTML_H */
--- a/src/highlighter.h Wed Aug 31 14:41:56 2016 +0200 +++ b/src/highlighter.h Wed Aug 31 14:47:01 2016 +0200 @@ -27,12 +27,12 @@ * */ -#ifndef CODEGENS_H -#define CODEGENS_H +#ifndef C2HTML_HIGHLIGHTER_H +#define C2HTML_HIGHLIGHTER_H #include "ucx/buffer.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -51,9 +51,9 @@ void c2html_c_highlighter(C2HTML_HIGHLIGHTER_SIGNATURE); void c2html_java_highlighter(C2HTML_HIGHLIGHTER_SIGNATURE); -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* CODEGENS_H */ +#endif /* C2HTML_HIGHLIGHTER_H */