[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix missing include header guard.
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] fix missing include header guard. |
Date: |
Sun, 22 Nov 2020 09:22:02 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
guy fleury iteriteka, le dim. 22 nov. 2020 09:41:55 +0200, a ecrit:
> * i386/i386/pit.h: Add header guard angaist multiple inclusion.
Applied, thanks!
> ---
> i386/i386/pit.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/i386/i386/pit.h b/i386/i386/pit.h
> index 6b682280..e004c37c 100644
> --- a/i386/i386/pit.h
> +++ b/i386/i386/pit.h
> @@ -45,6 +45,9 @@ NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
> CONNECTION
> WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> */
>
> +#ifndef _I386_PIT_H_
> +#define _I386_PIT_H_
> +
> #if defined(AT386) || defined(ATX86_64)
> /* Definitions for 8254 Programmable Interrupt Timer ports on AT 386 */
> #define PITCTR0_PORT 0x40 /* counter 0 port */
> @@ -79,3 +82,5 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> #endif /* AT386 */
>
> extern void clkstart(void);
> +
> +#endif /* _I386_PIT_H_ */
> --
> 2.20.1
>
>