commit 83521bebd4b0ee72812e47bea7c25297c0006d59
parent 20777a86af49c2309f4855d3c762eaa76c2deb7a
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 28 Oct 2018 15:58:40 +0100
Harmonize and uppercase #include guards
Diffstat:
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/include/ansilove.h b/include/ansilove.h
@@ -10,8 +10,8 @@
* See LICENSE file for details.
*/
-#ifndef ansilove_h
-#define ansilove_h
+#ifndef ANSILOVE_H
+#define ANSILOVE_H
#include <stdbool.h>
#include <stddef.h>
@@ -98,4 +98,4 @@ int ansilove_pcboard(struct ansilove_ctx *, struct ansilove_options *);
int ansilove_tundra(struct ansilove_ctx *, struct ansilove_options *);
int ansilove_xbin(struct ansilove_ctx *, struct ansilove_options *);
-#endif
+#endif /* ANSILOVE_H */
diff --git a/src/config.h b/src/config.h
@@ -10,8 +10,8 @@
* See LICENSE file for details.
*/
-#ifndef config_h
-#define config_h
+#ifndef CONFIG_H
+#define CONFIG_H
#include <stdint.h>
@@ -45,4 +45,4 @@ static const uint8_t pcb_colors[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x0e, 0x09, 0x0d, 0x0b, 0x0f
};
-#endif
+#endif /* CONFIG_H */
diff --git a/src/drawchar.h b/src/drawchar.h
@@ -13,12 +13,12 @@
#include <gd.h>
#include <sys/types.h>
-#ifndef drawchar_h
-#define drawchar_h
+#ifndef DRAWCHAR_H
+#define DRAWCHAR_H
// prototypes
void drawchar(gdImagePtr im, const unsigned char *font_data, uint32_t bits,
uint32_t height, uint32_t column, uint32_t row,
uint32_t background, uint32_t foreground, unsigned char character);
-#endif
+#endif /* DRAWCHAR_H */
diff --git a/src/fonts.h b/src/fonts.h
@@ -13,8 +13,8 @@
#include <stdbool.h>
#include <stdint.h>
-#ifndef albinfonts_h
-#define albinfonts_h
+#ifndef FONTS_H
+#define FONTS_H
struct fontStruct {
const unsigned char *font_data;
@@ -53,4 +53,4 @@ const unsigned char font_amiga_topaz_1200_plus[4096];
const unsigned char font_amiga_topaz_500[4096];
const unsigned char font_amiga_topaz_500_plus[4096];
-#endif
+#endif /* FONTS_H */
diff --git a/src/output.h b/src/output.h
@@ -15,10 +15,10 @@
struct ansilove_ctx;
struct ansilove_options;
-#ifndef output_h
-#define output_h
+#ifndef OUTPUT_H
+#define OUTPUT_H
// prototypes
int output(struct ansilove_ctx *, struct ansilove_options *, gdImagePtr);
-#endif
+#endif /* OUTPUT_H */