summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2008-04-27 01:45:21 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commitc3cc5eb87891c06b636409342fd86e4d8893c549 (patch)
treeec3a39a8310ff0b11a4043a82689c2e9fc1cf515 /src/include
parentd5830bb440f885878dc580e94a7364e4c5f6a044 (diff)
Made sin/cos tables const.
Made the sin/cos/arcsin/arccos tables const and removed the redundant externs that were scattered about.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/prototyp.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/include/prototyp.h b/src/include/prototyp.h
index f982f77..265960b 100644
--- a/src/include/prototyp.h
+++ b/src/include/prototyp.h
@@ -29,13 +29,8 @@
*/
-
-
-/* Grrr!! That's the last time these will be missing! */
-/* Oh, CDF 18/12/97 */
-
-extern int sine[];
-extern int cosine[];
+extern const int sine[4096];
+extern const int cosine[4096];
typedef struct vectorch {