summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals/__h_errno_location.c
blob: f4a587e96dde5682af7d9fbfe83970b26872bee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include "internal_errno.h"

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