diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-24 05:13:39 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-24 06:07:24 +0100 |
commit | be5b9d6ab9f7e7a81c367e4bb0823ba11f85940f (patch) | |
tree | 3d8a70e30c8073e210c637fcca2185aa0f71f179 /include | |
parent | 64830974a086e53ea1bc5e628e8955db83ff797a (diff) |
Don't use reserved identifiers
Diffstat (limited to 'include')
-rw-r--r-- | include/assert.h | 6 | ||||
-rw-r--r-- | include/limits.h | 6 | ||||
-rw-r--r-- | include/stdio.h | 6 | ||||
-rw-r--r-- | include/string.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/include/assert.h b/include/assert.h index 6aaf292..e77d68d 100644 --- a/include/assert.h +++ b/include/assert.h @@ -15,8 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _ASSERT_H -#define _ASSERT_H +#ifndef ASSERT_H +#define ASSERT_H #define static_assert _Static_assert @@ -47,4 +47,4 @@ MACRO_END #endif /* NDEBUG */ -#endif /* _ASSERT_H */ +#endif /* ASSERT_H */ diff --git a/include/limits.h b/include/limits.h index 2d47e6b..4479885 100644 --- a/include/limits.h +++ b/include/limits.h @@ -15,8 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _LIMITS_H -#define _LIMITS_H +#ifndef LIMITS_H +#define LIMITS_H #define CHAR_BIT 8 @@ -26,4 +26,4 @@ #define LONG_BIT 32 #endif /* __LP64__ */ -#endif /* _LIMITS_H */ +#endif /* LIMITS_H */ diff --git a/include/stdio.h b/include/stdio.h index 96c0331..892603a 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -15,8 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _STDIO_H -#define _STDIO_H +#ifndef STDIO_H +#define STDIO_H #include <kern/fmt.h> #include <kern/printf.h> @@ -39,4 +39,4 @@ char console_getchar(void); #define sscanf fmt_sscanf #define vsscanf fmt_vsscanf -#endif /* _STDIO_H */ +#endif /* STDIO_H */ diff --git a/include/string.h b/include/string.h index 0eee896..d6a0d1e 100644 --- a/include/string.h +++ b/include/string.h @@ -15,9 +15,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _STRING_H -#define _STRING_H +#ifndef STRING_H +#define STRING_H #include <kern/string.h> -#endif /* _STRING_H */ +#endif /* STRING_H */ |