From 18a8e840bb398e3ead7665f19323f8a431b03b70 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 14 Mar 2016 00:07:34 +0000 Subject: [PATCH] pragma once for mact headers. git-svn-id: https://svn.eduke32.com/eduke32@5662 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/jmact/_control.h | 2 ++ polymer/eduke32/source/jmact/_scrplib.h | 2 +- polymer/eduke32/source/jmact/animlib.h | 2 ++ polymer/eduke32/source/jmact/control.h | 2 ++ polymer/eduke32/source/jmact/file_lib.h | 2 ++ polymer/eduke32/source/jmact/keyboard.h | 2 ++ polymer/eduke32/source/jmact/mouse.h | 2 ++ polymer/eduke32/source/jmact/scriplib.h | 2 +- 8 files changed, 14 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/jmact/_control.h b/polymer/eduke32/source/jmact/_control.h index 2349c756f..0af21e79c 100644 --- a/polymer/eduke32/source/jmact/_control.h +++ b/polymer/eduke32/source/jmact/_control.h @@ -32,6 +32,8 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms // //**************************************************************************** +#pragma once + #ifndef control_private_h_ #define control_private_h_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/_scrplib.h b/polymer/eduke32/source/jmact/_scrplib.h index 0ac6fe7c8..19b117cc1 100644 --- a/polymer/eduke32/source/jmact/_scrplib.h +++ b/polymer/eduke32/source/jmact/_scrplib.h @@ -27,7 +27,7 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au) */ //------------------------------------------------------------------------- -// scrplib.h +#pragma once #ifndef scriplib_private_h_ #define scriplib_private_h_ diff --git a/polymer/eduke32/source/jmact/animlib.h b/polymer/eduke32/source/jmact/animlib.h index 95af9dead..2992480a8 100644 --- a/polymer/eduke32/source/jmact/animlib.h +++ b/polymer/eduke32/source/jmact/animlib.h @@ -31,6 +31,8 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au) // ///////////////////////////////////////////////////////////////////////////// +#pragma once + #ifndef animlib_public_h_ #define animlib_public_h_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/control.h b/polymer/eduke32/source/jmact/control.h index 79e7232e6..283af14ac 100644 --- a/polymer/eduke32/source/jmact/control.h +++ b/polymer/eduke32/source/jmact/control.h @@ -31,6 +31,8 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au) // //*************************************************************************** +#pragma once + #ifndef control_public_h_ #define control_public_h_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/file_lib.h b/polymer/eduke32/source/jmact/file_lib.h index 68263abbc..e99911497 100644 --- a/polymer/eduke32/source/jmact/file_lib.h +++ b/polymer/eduke32/source/jmact/file_lib.h @@ -24,6 +24,8 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms */ //------------------------------------------------------------------------- +#pragma once + #ifndef file_lib_public_ #define file_lib_public_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/keyboard.h b/polymer/eduke32/source/jmact/keyboard.h index 64b7b6f25..22a8286f6 100644 --- a/polymer/eduke32/source/jmact/keyboard.h +++ b/polymer/eduke32/source/jmact/keyboard.h @@ -25,6 +25,8 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au) */ //------------------------------------------------------------------------- +#pragma once + #ifndef keyboard_public_h_ #define keyboard_public_h_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/mouse.h b/polymer/eduke32/source/jmact/mouse.h index 536fabb29..d016067ed 100644 --- a/polymer/eduke32/source/jmact/mouse.h +++ b/polymer/eduke32/source/jmact/mouse.h @@ -25,6 +25,8 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au) */ //------------------------------------------------------------------------- +#pragma once + #ifndef mouse_h_ #define mouse_h_ #ifdef __cplusplus diff --git a/polymer/eduke32/source/jmact/scriplib.h b/polymer/eduke32/source/jmact/scriplib.h index e73ad547e..7db326d47 100644 --- a/polymer/eduke32/source/jmact/scriplib.h +++ b/polymer/eduke32/source/jmact/scriplib.h @@ -24,7 +24,7 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms */ //------------------------------------------------------------------------- -// scriplib.h +#pragma once #ifndef scriplib_public_h_ #define scriplib_public_h_