summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:20:23 +0000
committertron <tron@openttd.org>2005-12-14 06:20:23 +0000
commit23bfc03054c52065006a73d8cebdeee068784892 (patch)
tree5042ddfac1e3c26fb99ea38d0bd4b90959a93d61 /newgrf.c
parentce94c90a7b966c0bff294f2b582068d984ba172c (diff)
downloadopenttd-23bfc03054c52065006a73d8cebdeee068784892.tar.xz
(svn r3297) Staticise
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index 5396ef323..362accd28 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1276,7 +1276,7 @@ static void VehicleChangeInfo(byte *buf, int len)
* @param value The value that was used to represent this callback result
* @return A spritegroup representing that callback result
*/
-SpriteGroup *NewCallBackResultSpriteGroup(uint16 value)
+static SpriteGroup* NewCallBackResultSpriteGroup(uint16 value)
{
SpriteGroup *group = calloc(1, sizeof(*group));
@@ -1300,7 +1300,7 @@ SpriteGroup *NewCallBackResultSpriteGroup(uint16 value)
* @param sprites The number of sprites per set.
* @return A spritegroup representing the sprite number result.
*/
-SpriteGroup *NewResultSpriteGroup(uint16 value, byte sprites)
+static SpriteGroup* NewResultSpriteGroup(uint16 value, byte sprites)
{
SpriteGroup *group = calloc(1, sizeof(*group));
group->type = SGT_RESULT;