aboutsummaryrefslogtreecommitdiff
path: root/src/network/serveropcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/serveropcodes.h')
-rw-r--r--src/network/serveropcodes.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/network/serveropcodes.h b/src/network/serveropcodes.h
index 296b7d471..6df09d5ef 100644
--- a/src/network/serveropcodes.h
+++ b/src/network/serveropcodes.h
@@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef SERVEROPCODES_HEADER
-#define SERVEROPCODES_HEADER
+#pragma once
#include "server.h"
#include "networkprotocol.h"
@@ -49,5 +48,3 @@ struct ClientCommandFactory
extern const ToServerCommandHandler toServerCommandTable[TOSERVER_NUM_MSG_TYPES];
extern const ClientCommandFactory clientCommandFactoryTable[TOCLIENT_NUM_MSG_TYPES];
-
-#endif