summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__errno_location.c
blob: 10b97753f8008cee93395cd04fae6e791b0f2d62 (plain)
1
2
3
4
5
6
7
8
#include <errno.h>
#undef errno

int * weak_const_function __errno_location (void)
{
    return &errno;
}