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

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