Remove rgblib.

I have never used it and it's probably been broken for years.
This commit is contained in:
Anthony J. Bentley
2014-09-24 03:03:42 -06:00
parent d661b3a532
commit d7319ecd00
18 changed files with 4 additions and 598 deletions

View File

@@ -494,26 +494,3 @@ lib_ReadXLB0(FILE * f)
obj_ReadOpenFile(f, name);
}
}
void
lib_Readfile(char *tzLibfile)
{
FILE *pObjfile;
oReadLib = 1;
pObjfile = fopen(tzLibfile, "rb");
if (pObjfile == NULL) {
err(1, "Unable to open object '%s'", tzLibfile);
}
char tzHeader[5];
fread(tzHeader, sizeof(char), 4, pObjfile);
tzHeader[4] = 0;
if (strcmp(tzHeader, "XLB0") == 0)
lib_ReadXLB0(pObjfile);
else {
errx(1, "'%s' is an invalid library", tzLibfile);
}
fclose(pObjfile);
}