Skip to content

Commit

Permalink
core: add missing pragma once to header files
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Dec 16, 2023
1 parent 00954f1 commit 0d0f189
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/hw/mem/mem_watch.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "types.h"
#include "addrspace.h"
#include "hw/aica/aica_if.h"
Expand Down
1 change: 1 addition & 0 deletions core/hw/sh4/dyna/ssa.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <cstdio>
#include <set>
#include <map>
Expand Down
1 change: 1 addition & 0 deletions core/hw/sh4/modules/wince.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#ifdef TRACE_WINCE_SYSCALLS
#include "hw/sh4/sh4_sched.h"

Expand Down
1 change: 1 addition & 0 deletions core/linux-dist/evdev_gamepad.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include "evdev.h"
#include "input/gamepad_device.h"
#include "oslib/oslib.h"
Expand Down
1 change: 1 addition & 0 deletions core/log/StringUtil.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include <locale>

#ifdef _WIN32
Expand Down
1 change: 1 addition & 0 deletions core/lua/lua.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "build.h"
#include <string>

Expand Down
1 change: 1 addition & 0 deletions core/network/net_serial_maxspeed.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "hw/sh4/modules/modules.h"
#include "net_platform.h"
#include "cfg/option.h"
Expand Down
1 change: 1 addition & 0 deletions core/network/null_modem.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "hw/sh4/modules/modules.h"
#include "net_platform.h"
#include "cfg/option.h"
Expand Down
1 change: 1 addition & 0 deletions core/oslib/virtmem.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include "types.h"

namespace virtmem
Expand Down
1 change: 1 addition & 0 deletions core/rend/boxart/gamesdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "scraper.h"
#include "json.hpp"

Expand Down
1 change: 1 addition & 0 deletions core/rend/boxart/http_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <string>
#include <vector>
#include <cctype>
Expand Down
1 change: 1 addition & 0 deletions core/rend/vulkan/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "vulkan.h"

class ShaderCompiler
Expand Down
1 change: 1 addition & 0 deletions core/rend/vulkan/vulkan_renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "vulkan.h"
#include "hw/pvr/Renderer_if.h"
#include "hw/pvr/ta.h"
Expand Down
1 change: 1 addition & 0 deletions core/sdl/sdl_gamepad.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include "input/gamepad_device.h"
#include "input/mouse.h"
#include "oslib/oslib.h"
Expand Down
1 change: 1 addition & 0 deletions core/windows/rawinput.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include "build.h"
#ifndef TARGET_UWP
#include "input/gamepad_device.h"
Expand Down

0 comments on commit 0d0f189

Please sign in to comment.