From 921151d97a2fb2238ab514324fb95e2732248b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Thu, 17 Aug 2017 22:19:39 +0200 Subject: C++ modernize: Pragma once (#6264) * Migrate cpp headers to pragma once --- src/script/common/c_internal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/script/common/c_internal.h') diff --git a/src/script/common/c_internal.h b/src/script/common/c_internal.h index b77f0a7c3..2548ac979 100644 --- a/src/script/common/c_internal.h +++ b/src/script/common/c_internal.h @@ -24,8 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., /******************************************************************************/ /******************************************************************************/ -#ifndef C_INTERNAL_H_ -#define C_INTERNAL_H_ +#pragma once extern "C" { #include @@ -106,5 +105,3 @@ void script_error(lua_State *L, int pcall_result, const char *mod, const char *f void script_run_callbacks_f(lua_State *L, int nargs, RunCallbacksMode mode, const char *fxn); void log_deprecated(lua_State *L, const std::string &message); - -#endif /* C_INTERNAL_H_ */ -- cgit v1.2.3