summaryrefslogtreecommitdiff
path: root/src/z-rand.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-25 20:23:14 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-25 20:23:14 +0200
commit0209cb5f9e023ec9ce84389f5d08f8f522a193b5 (patch)
treeb59c3fde5e6f8c16223313d93911f2372d1c8a81 /src/z-rand.h
parentbcea5fe09f0835e5ea35fdfcb7355431f17cd0ee (diff)
#pragma once instead of include guards
Diffstat (limited to 'src/z-rand.h')
-rw-r--r--src/z-rand.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/z-rand.h b/src/z-rand.h
index 39cc958c..ba17dabe 100644
--- a/src/z-rand.h
+++ b/src/z-rand.h
@@ -1,7 +1,4 @@
-/* File: z-rand.h */
-
-#ifndef INCLUDED_Z_RAND_H
-#define INCLUDED_Z_RAND_H
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -91,6 +88,3 @@ extern s32b maxroll(s16b num, s16b sides);
#ifdef __cplusplus
} /* extern "C" */
#endif
-
-
-#endif