From d495a881f3c277abd4a49fe9b3d5d2788ee4c92b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 19 Sep 2023 21:19:40 +0100 Subject: Use "pragma once" --- include/ubox_vga.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/ubox_vga.h') diff --git a/include/ubox_vga.h b/include/ubox_vga.h index 6d5bd35..1489b68 100644 --- a/include/ubox_vga.h +++ b/include/ubox_vga.h @@ -1,5 +1,4 @@ -#ifndef _UBOX_VGA_H -#define _UBOX_VGA_H +#pragma once /* palette index to be used as transparent color */ #ifndef UBOX_TRANSPARENT @@ -40,5 +39,3 @@ void ubox_blit_copy_all(); void ubox_blit_copy(const ubox_rect *dst); /* only for 16 width, w is ignored */ void ubox_blit_copy16(const ubox_rect *dst); - -#endif /* _UBOX_VGA_H */ -- cgit v1.2.3