OSDN Git Service

Revert "don't make __errno_location / __h_errno_location hidden"
[uclinux-h8/uClibc.git] / libc / misc / internals / __h_errno_location.c
1 /*
2  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3  *
4  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5  */
6
7 #include "internal_errno.h"
8
9 int * weak_const_function __h_errno_location (void)
10 {
11     return &h_errno;
12 }
13 libc_hidden_weak(__h_errno_location)