summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__h_errno_location.c
blob: 1fae934592bb3ab2633b2c43959229397f925345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
#undef h_errno

libc_hidden_proto(h_errno)

libc_hidden_proto(__h_errno_location)
int * weak_const_function __h_errno_location (void)
{
    return &h_errno;
}
libc_hidden_def(__h_errno_location)