Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DIR_ACCESS_WINDOWS_H
#define DIR_ACCESS_WINDOWS_H
#pragma once
#ifdef WINDOWS_ENABLED
@@ -91,5 +90,3 @@ public:
};
#endif // WINDOWS_ENABLED
#endif // DIR_ACCESS_WINDOWS_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FILE_ACCESS_WINDOWS_H
#define FILE_ACCESS_WINDOWS_H
#pragma once
#ifdef WINDOWS_ENABLED
@@ -98,5 +97,3 @@ public:
};
#endif // WINDOWS_ENABLED
#endif // FILE_ACCESS_WINDOWS_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FILE_ACCESS_WINDOWS_PIPE_H
#define FILE_ACCESS_WINDOWS_PIPE_H
#pragma once
#ifdef WINDOWS_ENABLED
@@ -90,5 +89,3 @@ public:
};
#endif // WINDOWS_ENABLED
#endif // FILE_ACCESS_WINDOWS_PIPE_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef IP_WINDOWS_H
#define IP_WINDOWS_H
#pragma once
#if defined(WINDOWS_ENABLED)
@@ -50,5 +49,3 @@ public:
};
#endif // WINDOWS_ENABLED
#endif // IP_WINDOWS_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef NET_SOCKET_WINSOCK_H
#define NET_SOCKET_WINSOCK_H
#pragma once
#ifdef WINDOWS_ENABLED
@@ -98,5 +97,3 @@ public:
};
#endif // WINDOWS_ENABLED
#endif // NET_SOCKET_WINSOCK_H

View File

@@ -28,13 +28,10 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef THREAD_WINDOWS_H
#define THREAD_WINDOWS_H
#pragma once
#ifdef WINDOWS_ENABLED
void init_thread_win();
#endif // WINDOWS_ENABLED
#endif // THREAD_WINDOWS_H