#include <string.h> #include "ld.h" ldLibrary *ldFindLibrary(char *lib) { ldLibrary *tmpLibs = 0x0; for (tmpLibs = libs;tmpLibs;tmpLibs = tmpLibs->next) { if (!strcmp(tmpLibs->name,lib)) { return(tmpLibs); } } return(0x0); }