]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/spawnfunc.qh
#pragma once
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / spawnfunc.qh
index ce3c512c1d4cbed378fd2e9397a2356836e7ac7a..7938bacde4d75014b729019305f1afa25e9a63fd 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SPAWNFUNC_H
-#define SPAWNFUNC_H
+#pragma once
 
 /** If this global exists, only functions with spawnfunc_ name prefix qualify as spawn functions */
 noref bool require_spawnfunc_prefix;
@@ -195,5 +194,3 @@ noref bool require_spawnfunc_prefix;
 
        #define spawnfunc(...) EVAL_spawnfunc(OVERLOAD(spawnfunc, __VA_ARGS__))
        #define EVAL_spawnfunc(...) __VA_ARGS__
-
-#endif