diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-28 18:08:10 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-28 18:08:10 +0100 |
commit | 55d4132931b9658dc7b16a830ae60c7a473add68 (patch) | |
tree | 1e3eb6bae26bed4ee87f9972780539b050aa7de6 | |
parent | f63eaffc955190ade0bf1d0e79568b4b727981ee (diff) |
console: add header protection
The header was missing a #ifndef to protect against multiple inclusions.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
-rw-r--r-- | src/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console.h b/src/console.h index 55fde58..3b9f746 100644 --- a/src/console.h +++ b/src/console.h @@ -35,6 +35,9 @@ * of it. */ +#ifndef KMSCON_CONSOLE_H +#define KMSCON_CONSOLE_H + #include <inttypes.h> #include <stdlib.h> #include "font.h" @@ -79,3 +82,5 @@ void kmscon_console_map(struct kmscon_console *con); void kmscon_console_write(struct kmscon_console *con, kmscon_symbol_t ch); void kmscon_console_newline(struct kmscon_console *con); + +#endif /* KMSCON_CONSOLE_H */ |