diff --git a/src/log.h b/src/log.h index 41b5103..947cfbf 100644 --- a/src/log.h +++ b/src/log.h @@ -19,12 +19,9 @@ * 02110-1301, USA. */ -#ifndef LOG_H -#define LOG_H +#pragma once void log_open(const char *filename); void log_write(char c); void log_close(void); void log_exit(void); - -#endif diff --git a/src/options.h b/src/options.h index c28ba6b..57ea7c8 100644 --- a/src/options.h +++ b/src/options.h @@ -19,8 +19,7 @@ * 02110-1301, USA. */ -#ifndef OPTIONS_H -#define OPTIONS_H +#pragma once #include #include @@ -49,5 +48,3 @@ struct option_t extern struct option_t option; void parse_options(int argc, char *argv[]); - -#endif diff --git a/src/tty.h b/src/tty.h index b1fdef7..93160cd 100644 --- a/src/tty.h +++ b/src/tty.h @@ -19,8 +19,7 @@ * 02110-1301, USA. */ -#ifndef TTY_H -#define TTY_H +#pragma once #define KEY_QUESTION 0x3f #define KEY_B 0x62 @@ -49,5 +48,3 @@ void tty_configure(void); int tty_connect(void); void tty_wait_for_device(void); void list_serial_devices(void); - -#endif