summaryrefslogtreecommitdiff
path: root/kern/printf.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-24 05:13:39 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-24 06:07:24 +0100
commitbe5b9d6ab9f7e7a81c367e4bb0823ba11f85940f (patch)
tree3d8a70e30c8073e210c637fcca2185aa0f71f179 /kern/printf.h
parent64830974a086e53ea1bc5e628e8955db83ff797a (diff)
Don't use reserved identifiers
Diffstat (limited to 'kern/printf.h')
-rw-r--r--kern/printf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kern/printf.h b/kern/printf.h
index 8185c735..eba5562b 100644
--- a/kern/printf.h
+++ b/kern/printf.h
@@ -24,12 +24,12 @@
* See the sprintf module for information about the supported formats.
*/
-#ifndef _KERN_PRINTF_H
-#define _KERN_PRINTF_H
+#ifndef KERN_PRINTF_H
+#define KERN_PRINTF_H
-#ifndef _STDIO_H
+#ifndef STDIO_H
#error "do not use <kern/printf.h> directly; include <stdio.h> instead"
-#endif /* _STDIO_H */
+#endif /* STDIO_H */
#include <stdarg.h>
@@ -47,4 +47,4 @@ int vprintf(const char *format, va_list ap)
*/
INIT_OP_DECLARE(printf_setup);
-#endif /* _KERN_PRINTF_H */
+#endif /* KERN_PRINTF_H */