summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/__uc_malloc.c2
-rw-r--r--libc/stdlib/_atexit.c2
-rw-r--r--libc/stdlib/abort.c6
-rw-r--r--libc/stdlib/arc4random.c6
-rw-r--r--libc/stdlib/bsd_getpt.c2
-rw-r--r--libc/stdlib/gcvt.c2
-rw-r--r--libc/stdlib/getenv.c2
-rw-r--r--libc/stdlib/getpt.c2
-rw-r--r--libc/stdlib/malloc-simple/alloc.c2
-rw-r--r--libc/stdlib/malloc-standard/malloc.h4
-rw-r--r--libc/stdlib/malloc/free.c2
-rw-r--r--libc/stdlib/malloc/heap_debug.c4
-rw-r--r--libc/stdlib/malloc/malloc.c4
-rw-r--r--libc/stdlib/malloc/malloc_debug.c4
-rw-r--r--libc/stdlib/ptsname.c6
-rw-r--r--libc/stdlib/system.c2
-rw-r--r--libc/stdlib/unix_grantpt.c4
-rw-r--r--libc/stdlib/unlockpt.c2
18 files changed, 29 insertions, 29 deletions
diff --git a/libc/stdlib/__uc_malloc.c b/libc/stdlib/__uc_malloc.c
index 81eee1343..c98bcfa18 100644
--- a/libc/stdlib/__uc_malloc.c
+++ b/libc/stdlib/__uc_malloc.c
@@ -22,7 +22,7 @@ Cambridge, MA 02139, USA.
#include <unistd.h>
#include <malloc.h>
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(__uc_malloc)
libc_hidden_proto(__uc_malloc_failed)
diff --git a/libc/stdlib/_atexit.c b/libc/stdlib/_atexit.c
index 38d2d78a0..884032bba 100644
--- a/libc/stdlib/_atexit.c
+++ b/libc/stdlib/_atexit.c
@@ -47,7 +47,7 @@
__UCLIBC_MUTEX_EXTERN(__atexit_lock);
/* libc_hidden_proto(exit) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
typedef void (*aefuncp) (void); /* atexit function pointer */
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c
index 82a9a5e80..84251664b 100644
--- a/libc/stdlib/abort.c
+++ b/libc/stdlib/abort.c
@@ -29,10 +29,10 @@ Cambridge, MA 02139, USA. */
/* libc_hidden_proto(abort) */
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(raise)
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
/* Our last ditch effort to commit suicide */
#ifdef __UCLIBC_ABORT_INSTRUCTION__
diff --git a/libc/stdlib/arc4random.c b/libc/stdlib/arc4random.c
index 5355713bf..0fab85c96 100644
--- a/libc/stdlib/arc4random.c
+++ b/libc/stdlib/arc4random.c
@@ -38,10 +38,10 @@
//libc_hidden_proto(sysctl)
#endif
-libc_hidden_proto(open)
-libc_hidden_proto(read)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
struct arc4_stream {
uint8_t i;
diff --git a/libc/stdlib/bsd_getpt.c b/libc/stdlib/bsd_getpt.c
index 1afd57f47..c7582e855 100644
--- a/libc/stdlib/bsd_getpt.c
+++ b/libc/stdlib/bsd_getpt.c
@@ -23,7 +23,7 @@
#include <unistd.h>
#if defined __USE_BSD
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
/* Prefix for master pseudo terminal nodes. */
diff --git a/libc/stdlib/gcvt.c b/libc/stdlib/gcvt.c
index f1c1f4270..6c61ee1e4 100644
--- a/libc/stdlib/gcvt.c
+++ b/libc/stdlib/gcvt.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
#ifdef __UCLIBC_HAS_FLOATS__
#define MAX_NDIGIT 17
diff --git a/libc/stdlib/getenv.c b/libc/stdlib/getenv.c
index 7b3df7e64..e0193e223 100644
--- a/libc/stdlib/getenv.c
+++ b/libc/stdlib/getenv.c
@@ -8,7 +8,7 @@
#include <unistd.h>
#include <stdlib.h>
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* Experimentally off - libc_hidden_proto(memcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c
index 5fb142d4b..54555cf07 100644
--- a/libc/stdlib/getpt.c
+++ b/libc/stdlib/getpt.c
@@ -28,7 +28,7 @@
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
#if !defined __ASSUME_DEVPTS__
diff --git a/libc/stdlib/malloc-simple/alloc.c b/libc/stdlib/malloc-simple/alloc.c
index 45faf62db..c8aa1f497 100644
--- a/libc/stdlib/malloc-simple/alloc.c
+++ b/libc/stdlib/malloc-simple/alloc.c
@@ -19,7 +19,7 @@
/* Experimentally off - libc_hidden_proto(memcpy) */
/*libc_hidden_proto(memset)*/
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(munmap)
#ifdef L_malloc
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h
index d4259d526..b6a9130f6 100644
--- a/libc/stdlib/malloc-standard/malloc.h
+++ b/libc/stdlib/malloc-standard/malloc.h
@@ -24,9 +24,9 @@
#include <sys/mman.h>
#include <bits/uClibc_mutex.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(sysconf)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
/* libc_hidden_proto(abort) */
diff --git a/libc/stdlib/malloc/free.c b/libc/stdlib/malloc/free.c
index 91552919e..95b7abcbe 100644
--- a/libc/stdlib/malloc/free.c
+++ b/libc/stdlib/malloc/free.c
@@ -16,7 +16,7 @@
#include <sys/mman.h>
libc_hidden_proto(munmap)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
#include "malloc.h"
#include "heap.h"
diff --git a/libc/stdlib/malloc/heap_debug.c b/libc/stdlib/malloc/heap_debug.c
index f51a68b57..f1ccc6f2d 100644
--- a/libc/stdlib/malloc/heap_debug.c
+++ b/libc/stdlib/malloc/heap_debug.c
@@ -17,9 +17,9 @@
#include <string.h>
#include <unistd.h>
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
/* libc_hidden_proto(fprintf) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
#include "malloc.h"
#include "heap.h"
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
index 620a9fbcc..19877db89 100644
--- a/libc/stdlib/malloc/malloc.c
+++ b/libc/stdlib/malloc/malloc.c
@@ -16,8 +16,8 @@
#include <errno.h>
#include <sys/mman.h>
-libc_hidden_proto(mmap)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(mmap) */
+/* libc_hidden_proto(sbrk) */
#include "malloc.h"
#include "heap.h"
diff --git a/libc/stdlib/malloc/malloc_debug.c b/libc/stdlib/malloc/malloc_debug.c
index 39c3919c5..c19059b43 100644
--- a/libc/stdlib/malloc/malloc_debug.c
+++ b/libc/stdlib/malloc/malloc_debug.c
@@ -17,9 +17,9 @@
#include <stdarg.h>
libc_hidden_proto(atoi)
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(putc)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#include "malloc.h"
#include "heap.h"
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c
index bd9c3cab2..4ac2fcd21 100644
--- a/libc/stdlib/ptsname.c
+++ b/libc/stdlib/ptsname.c
@@ -33,9 +33,9 @@
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(isatty)
-libc_hidden_proto(ioctl)
-libc_hidden_proto(fstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(stat) */
#if !defined __UNIX98PTY_ONLY__
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 4d75a4077..33091da0a 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -11,7 +11,7 @@
#include <sys/wait.h>
#include <stdlib.h>
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(wait4)
libc_hidden_proto(execl)
libc_hidden_proto(signal)
diff --git a/libc/stdlib/unix_grantpt.c b/libc/stdlib/unix_grantpt.c
index d1eef9efd..5d62846ef 100644
--- a/libc/stdlib/unix_grantpt.c
+++ b/libc/stdlib/unix_grantpt.c
@@ -40,10 +40,10 @@ libc_hidden_proto(chmod)
libc_hidden_proto(chown)
libc_hidden_proto(vfork)
libc_hidden_proto(fork)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
libc_hidden_proto(ptsname_r)
libc_hidden_proto(execle)
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
diff --git a/libc/stdlib/unlockpt.c b/libc/stdlib/unlockpt.c
index 8c426553c..731a11a85 100644
--- a/libc/stdlib/unlockpt.c
+++ b/libc/stdlib/unlockpt.c
@@ -22,7 +22,7 @@
#include <sys/ioctl.h>
#include <termios.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Unlock the slave pseudo terminal associated with the master pseudo
terminal specified by FD. */