# HG changeset patch # User Mike Becker # Date 1472647621 -7200 # Node ID 81d99e9ceb200c7698fc2b324c5a83500610032c # Parent bf54085ce341ec303887171ee5e70003428d01ee fixes ancient header macro diff -r bf54085ce341 -r 81d99e9ceb20 src/c2html.h --- 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 #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 */ diff -r bf54085ce341 -r 81d99e9ceb20 src/highlighter.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 */