svn commit: branches/uClibc-nptl/libc/misc/internals
kraj at uclibc.org
kraj at uclibc.org
Tue Dec 2 06:38:26 UTC 2008
Author: kraj
Date: 2008-12-01 22:38:26 -0800 (Mon, 01 Dec 2008)
New Revision: 24227
Log:
signed-off-by: Khem Raj <raj.khem at gmail.com>
Sync from trunk.
Modified:
branches/uClibc-nptl/libc/misc/internals/__h_errno_location.c
Changeset:
Modified: branches/uClibc-nptl/libc/misc/internals/__h_errno_location.c
===================================================================
--- branches/uClibc-nptl/libc/misc/internals/__h_errno_location.c 2008-12-02 03:31:28 UTC (rev 24226)
+++ branches/uClibc-nptl/libc/misc/internals/__h_errno_location.c 2008-12-02 06:38:26 UTC (rev 24227)
@@ -1,14 +1,14 @@
-#define __FORCE_GLIBC
-#include <features.h>
-#include <netdb.h>
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
-#ifndef __UCLIBC_HAS_THREADS_NATIVE__
-#undef h_errno
-extern int h_errno;
-#endif
+#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)
More information about the uClibc-cvs
mailing list