LAB: Remove superfluous void function parameters

This commit is contained in:
Filippos Karapetis 2015-02-24 00:31:26 +02:00 committed by Eugene Sandulenko
parent 530aa5926b
commit 6ff7c480af
20 changed files with 105 additions and 105 deletions

View file

@ -64,7 +64,7 @@ static void setString(char **string) {
/*****************************************************************************/
/* Initializes everything for the Labyrinth text stuff */
/*****************************************************************************/
bool initLabText(void) {
bool initLabText() {
if ((SizeOfMemChunk = sizeOfFile(LABTEXTFILE)))
if ((BeginOfMemChunk = (char *)calloc(SizeOfMemChunk, 1))) {
Common::File *file = openPartial(LABTEXTFILE);
@ -143,7 +143,7 @@ bool initLabText(void) {
/*****************************************************************************/
/* Frees the memory from the Labyrinth text stuff. */
/*****************************************************************************/
void freeLabText(void) {
void freeLabText() {
if (SizeOfMemChunk && BeginOfMemChunk)
free(BeginOfMemChunk);
}