fixes ancient header macro

Wed, 31 Aug 2016 14:47:01 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 31 Aug 2016 14:47:01 +0200
changeset 56
81d99e9ceb20
parent 55
bf54085ce341
child 57
eba880c1705c

fixes ancient header macro

src/c2html.h file | annotate | diff | comparison | revisions
src/highlighter.h file | annotate | diff | comparison | revisions
     1.1 --- a/src/c2html.h	Wed Aug 31 14:41:56 2016 +0200
     1.2 +++ b/src/c2html.h	Wed Aug 31 14:47:01 2016 +0200
     1.3 @@ -28,12 +28,12 @@
     1.4   */
     1.5  
     1.6  #ifndef C2HTML_H
     1.7 -#define	C2HTML_H
     1.8 +#define C2HTML_H
     1.9  
    1.10  #include <stdio.h>
    1.11  #include "highlighter.h"
    1.12  
    1.13 -#ifdef	__cplusplus
    1.14 +#ifdef __cplusplus
    1.15  extern "C" {
    1.16  #endif
    1.17      
    1.18 @@ -138,9 +138,9 @@
    1.19  void c2html_fformat_file(FILE *inputfile, char *ibuf, size_t ibuflen,
    1.20          FILE* outputfile, c2html_highlighter_func hltr, int showln);
    1.21  
    1.22 -#ifdef	__cplusplus
    1.23 +#ifdef __cplusplus
    1.24  }
    1.25  #endif
    1.26  
    1.27 -#endif	/* C2HTML_H */
    1.28 +#endif /* C2HTML_H */
    1.29  
     2.1 --- a/src/highlighter.h	Wed Aug 31 14:41:56 2016 +0200
     2.2 +++ b/src/highlighter.h	Wed Aug 31 14:47:01 2016 +0200
     2.3 @@ -27,12 +27,12 @@
     2.4   *
     2.5   */
     2.6  
     2.7 -#ifndef CODEGENS_H
     2.8 -#define	CODEGENS_H
     2.9 +#ifndef C2HTML_HIGHLIGHTER_H
    2.10 +#define C2HTML_HIGHLIGHTER_H
    2.11  
    2.12  #include "ucx/buffer.h"
    2.13  
    2.14 -#ifdef	__cplusplus
    2.15 +#ifdef __cplusplus
    2.16  extern "C" {
    2.17  #endif
    2.18      
    2.19 @@ -51,9 +51,9 @@
    2.20  void c2html_c_highlighter(C2HTML_HIGHLIGHTER_SIGNATURE);
    2.21  void c2html_java_highlighter(C2HTML_HIGHLIGHTER_SIGNATURE);
    2.22  
    2.23 -#ifdef	__cplusplus
    2.24 +#ifdef __cplusplus
    2.25  }
    2.26  #endif
    2.27  
    2.28 -#endif	/* CODEGENS_H */
    2.29 +#endif /* C2HTML_HIGHLIGHTER_H */
    2.30  

mercurial