shithub: rgbds

Download patch

ref: 646d71d927f6836fe0616669f0355e754afe202b
parent: 9b9b41e6055c0c6343932ee9572e5742cb04b5eb
author: Antonio Niño Díaz <[email protected]>
date: Sun Apr 23 16:24:48 EDT 2017

Remove unused code

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/src/link/object.c
+++ b/src/link/object.c
@@ -339,24 +339,3 @@
 
 	return (r);
 }
-
-void
-lib_ReadXLB0(FILE * f)
-{
-	SLONG size;
-
-	size = file_Length(f) - 4;
-	while (size) {
-		char *name;
-
-		size -= readasciiz(&name, f);
-		readword(f);
-		size -= 2;
-		readword(f);
-		size -= 2;
-		size -= readlong(f);
-		size -= 4;
-		obj_ReadOpenFile(f, name);
-		free(name);
-	}
-}