summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-14 08:11:57 +0000
committertron <tron@openttd.org>2004-11-14 08:11:57 +0000
commit37cbae03707068aecc81ca344777529939b09c16 (patch)
treebe7b4f96fadc83f2fb4ee81bb06167e33debea35 /misc.c
parent84d1041edfb21bb42739a95cfb6fa3909dfce1b4 (diff)
downloadopenttd-37cbae03707068aecc81ca344777529939b09c16.tar.xz
(svn r579) Remove now unused function memswap()
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/misc.c b/misc.c
index 32290640e..cc7b745af 100644
--- a/misc.c
+++ b/misc.c
@@ -77,13 +77,6 @@ void InitPlayerRandoms()
}
}
-void memswap(void *a, void *b, size_t size) {
- void *c = alloca(size);
- memcpy(c, a, size);
- memcpy(a, b, size);
- memcpy(b, c, size);
-}
-
void SetDate(uint date)
{
YearMonthDay ymd;