Dead code removal.

Kill off use of etherboot.h outside drivers/net.
This commit is contained in:
Michael Brown
2007-07-14 15:42:26 +01:00
parent 95c07736cb
commit e330db3c74
20 changed files with 30 additions and 1321 deletions

View File

@@ -189,6 +189,14 @@ int strncmp(const char * cs,const char * ct,size_t count)
}
#endif
#ifndef __HAVE_ARCH_STRCASECMP
int strcasecmp(const char *a, const char *b)
{
while (*a && *b && (*a & ~0x20) == (*b & ~0x20)) {a++; b++; }
return((*a & ~0x20) - (*b & ~0x20));
}
#endif
#ifndef __HAVE_ARCH_STRCHR
/**
* strchr - Find the first occurrence of a character in a string