2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
	Remove isblank (supposed to be provided by libc).
This commit is contained in:
Ralf Corsepius
2007-01-28 03:58:10 +00:00
parent 7c0f1d4bc2
commit 8deda62402
2 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
Remove isblank (supposed to be provided by libc).
2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/show_bdbuf.c: Convert from DOS to UNIX.

View File

@@ -79,9 +79,11 @@ static u_char host_addr[16]; /* IPv4 or IPv6 */
static char *h_addr_ptrs[2];
static int stayopen = 0;
#ifdef _THREAD_SAFE
static char* hostmap = NULL;
static unsigned int hostlen = 0;
static char *cur;
#endif
void
_sethosthtent(f)
@@ -208,12 +210,6 @@ _gethostbyhtaddr(addr, len, af)
#ifdef _THREAD_SAFE
static int isblank ( int ch )
{
return ch == ' ' || ch == '\t';
}
struct hostent* gethostent_r(char* buf, int len)
{
char *dest;