From 4ea7682a7567d83de21bfdfdd5e13a3985093b93 Mon Sep 17 00:00:00 2001 From: "leleraffa97@hotmail.it" Date: Thu, 31 Aug 2017 21:36:31 +0200 Subject: macro fix --- sw/z80/kernel/include/sio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/z80/kernel/include/sio.h') diff --git a/sw/z80/kernel/include/sio.h b/sw/z80/kernel/include/sio.h index 2efd706..276b99c 100644 --- a/sw/z80/kernel/include/sio.h +++ b/sw/z80/kernel/include/sio.h @@ -1,5 +1,5 @@ -#ifndef SIO_H -#define SIO_H +#ifndef __SIO_H__ +#define __SIO_H__ #include "types.h" @@ -24,7 +24,7 @@ struct dev_buffer }; /* points to the buffers mapped in the I/O space */ -/* to be defined precisely in assemly */ +/* to be defined precisely in assembly */ extern volatile struct dev_buffer sio_buffers[8]; /* initialize serial interface */ @@ -40,4 +40,4 @@ size_t sio_read(void *buffer, size_t n); /* write n bytes into the current port */ int8_t sio_write(const void *buffer, size_t n); -#endif +#endif // __SIO_H__ -- cgit v1.2.1