commit 248b368c29b8d93a795c0bd413950003608c1e3c
parent 0c5866bc6ed03e7a0de3c0c8f8e7fe72c7dbb3ad
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 25 Nov 2018 17:25:14 +0100
Harmonize and uppercase #include guards
Diffstat:
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/config.h b/src/config.h
@@ -10,12 +10,12 @@
* See LICENSE file for details.
*/
-#ifndef config_h
-#define config_h
+#ifndef CONFIG_H
+#define CONFIG_H
#include <stdint.h>
/* configuration defines */
#define VERSION "3.0.9"
-#endif
+#endif /* CONFIG_H */
diff --git a/src/sauce.h b/src/sauce.h
@@ -14,8 +14,8 @@
#include <sys/types.h>
#include <stdio.h>
-#ifndef sauce_h
-#define sauce_h
+#ifndef SAUCE_H
+#define SAUCE_H
/* sauce records */
#define RECORD_SIZE 128
@@ -48,4 +48,4 @@ sauce *sauceReadFile(FILE *file);
void readRecord(FILE *file, sauce *record);
int readComments(FILE *file, char **comment_lines, int32_t comments);
-#endif
+#endif /* SAUCE_H */
diff --git a/src/strtolower.h b/src/strtolower.h
@@ -10,11 +10,11 @@
* See LICENSE file for details.
*/
-#ifndef strtolower_h
-#define strtolower_h
+#ifndef STRTOLOWER_H
+#define STRTOLOWER_H
/* In-place modification of a string to be all lower case. */
char *strtolower(char *str);
-#endif
+#endif /* STRTOLOWER_H */