summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /libc/misc/internals
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/__errno_location.c4
-rw-r--r--libc/misc/internals/__h_errno_location.c2
-rw-r--r--libc/misc/internals/__uClibc_main.c8
-rw-r--r--libc/misc/internals/errno.c4
-rw-r--r--libc/misc/internals/tempname.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c
index a44bf6062..4401ba249 100644
--- a/libc/misc/internals/__errno_location.c
+++ b/libc/misc/internals/__errno_location.c
@@ -6,8 +6,8 @@
#include "internal_errno.h"
-/* psm: moved to bits/errno.h: libc_hidden_proto(__errno_location) */
-libc_hidden_proto(__errno_location)
+/* psm: moved to bits/errno.h: */
+/* libc_hidden_proto(__errno_location) */
int * weak_const_function __errno_location (void)
{
return &errno;
diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c
index 2ac21774c..f4a587e96 100644
--- a/libc/misc/internals/__h_errno_location.c
+++ b/libc/misc/internals/__h_errno_location.c
@@ -6,7 +6,7 @@
#include "internal_errno.h"
-libc_hidden_proto(__h_errno_location)
+/* libc_hidden_proto(__h_errno_location) */
int * weak_const_function __h_errno_location (void)
{
return &h_errno;
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index af4bfac42..5f31e347c 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -34,10 +34,10 @@
#endif
#ifndef __ARCH_HAS_NO_LDSO__
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(getgid)
-libc_hidden_proto(getuid)
-libc_hidden_proto(getegid)
-libc_hidden_proto(geteuid)
+/* libc_hidden_proto(getgid) */
+/* libc_hidden_proto(getuid) */
+/* libc_hidden_proto(getegid) */
+/* libc_hidden_proto(geteuid) */
/* libc_hidden_proto(fstat) */
/* libc_hidden_proto(abort) */
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index fcf143fb5..20b26b2b6 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -1,8 +1,8 @@
#include "internal_errno.h"
#ifdef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(errno)
-libc_hidden_proto(h_errno)
+/* libc_hidden_proto(errno) */
+/* libc_hidden_proto(h_errno) */
#endif
int errno = 0;
int h_errno = 0;
diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c
index 8ce277555..10d00041c 100644
--- a/libc/misc/internals/tempname.c
+++ b/libc/misc/internals/tempname.c
@@ -48,10 +48,10 @@
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* libc_hidden_proto(sprintf) */
-libc_hidden_proto(mkdir)
+/* libc_hidden_proto(mkdir) */
/* libc_hidden_proto(open) */
#ifdef __UCLIBC_HAS_LFS__
-libc_hidden_proto(open64)
+/* libc_hidden_proto(open64) */
#endif
/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */