Changeset - r387:b66e8bc66817
[Not reviewed]
master
0 2 0
tron - 20 years ago 2004-11-14 08:11:57
tron@openttd.org
(svn r579) Remove now unused function memswap()
2 files changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
functions.h
Show inline comments
 
@@ -86,7 +86,6 @@ StringID GetPlayerNameString(byte player
 
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();
misc.c
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)