summaryrefslogtreecommitdiff
path: root/include/uplink.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-04 12:02:50 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 12:10:32 +0000
commit7d1047490e4380c4f02900b711c66055d29fb387 (patch)
treeff3a4b9063b9b8b6e2cf1b36c185c3ad47de99e7 /include/uplink.h
parentc9f93eeaedcf3e2d211fea7799ea529d76ebaad5 (diff)
Consistently use #pragma once across all header files.
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
Diffstat (limited to 'include/uplink.h')
-rw-r--r--include/uplink.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/uplink.h b/include/uplink.h
index 5aac5dd2d..90399a9b2 100644
--- a/include/uplink.h
+++ b/include/uplink.h
@@ -9,8 +9,7 @@
* Based on the original code of Services by Andy Church.
*/
-#ifndef UPLINK_H
-#define UPLINK_H
+#pragma once
#include "sockets.h"
#include "protocol.h"
@@ -49,5 +48,3 @@ class UplinkSocket : public ConnectionSocket, public BufferedSocket
};
};
extern CoreExport UplinkSocket *UplinkSock;
-
-#endif // UPLINK_H