mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user