(svn r579) Remove now unused function memswap()

This commit is contained in:
tron 2004-11-14 08:11:57 +00:00
parent 84d1041edf
commit 37cbae0370
2 changed files with 0 additions and 8 deletions

View File

@ -86,7 +86,6 @@ StringID GetPlayerNameString(byte player, byte index);
void ShowInfo(const char *str);
void CDECL ShowInfoF(const char *str, ...);
void NORETURN CDECL error(const char *str, ...);
void memswap(void *a, void *b, size_t size);
/* ttd.c */
uint32 Random();

7
misc.c
View File

@ -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;