summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/daemon.c4
-rw-r--r--libc/unistd/exec.c4
-rw-r--r--libc/unistd/fpathconf.c2
-rw-r--r--libc/unistd/getlogin.c2
-rw-r--r--libc/unistd/getopt.c2
-rw-r--r--libc/unistd/getpass.c6
-rw-r--r--libc/unistd/pathconf.c2
-rw-r--r--libc/unistd/sleep.c6
-rw-r--r--libc/unistd/usershell.c4
9 files changed, 16 insertions, 16 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index db09b6575..29fd56ceb 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -48,9 +48,9 @@
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(dup2)
libc_hidden_proto(setsid)
libc_hidden_proto(chdir)
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 9134e4370..057f7ff2c 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -37,9 +37,9 @@ libc_hidden_proto(execvp)
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(execve)
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(munmap)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/**********************************************************************/
#define EXEC_FUNC_COMMON 0
diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c
index 7b0457c75..67345b8e0 100644
--- a/libc/unistd/fpathconf.c
+++ b/libc/unistd/fpathconf.c
@@ -28,7 +28,7 @@
//#include "linux_fsinfo.h"
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
diff --git a/libc/unistd/getlogin.c b/libc/unistd/getlogin.c
index 1998a7fc8..25d99bd9d 100644
--- a/libc/unistd/getlogin.c
+++ b/libc/unistd/getlogin.c
@@ -12,7 +12,7 @@
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* uClibc makes it policy to not mess with the utmp file whenever
* possible, since I consider utmp a complete waste of time. Since
diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c
index cdd0c2029..1721a2ae7 100644
--- a/libc/unistd/getopt.c
+++ b/libc/unistd/getopt.c
@@ -125,7 +125,7 @@
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* libc_hidden_proto(fprintf) */
/* For communication from `getopt' to the caller.
diff --git a/libc/unistd/getpass.c b/libc/unistd/getpass.c
index deaab122a..5c1e09901 100644
--- a/libc/unistd/getpass.c
+++ b/libc/unistd/getpass.c
@@ -27,12 +27,12 @@
libc_hidden_proto(tcsetattr)
libc_hidden_proto(tcgetattr)
libc_hidden_proto(setvbuf)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(fileno)
libc_hidden_proto(fflush)
-libc_hidden_proto(fgets)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fgets) */
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(fputc)
libc_hidden_proto(putc)
libc_hidden_proto(__fputc_unlocked)
diff --git a/libc/unistd/pathconf.c b/libc/unistd/pathconf.c
index 7f7efbb7f..a5e6fdec5 100644
--- a/libc/unistd/pathconf.c
+++ b/libc/unistd/pathconf.c
@@ -33,7 +33,7 @@
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
/* The Linux kernel headers mention this as a kind of generic value. */
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 435d105c5..93d033ed1 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -25,8 +25,8 @@
libc_hidden_proto(sleep)
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
/* version perusing nanosleep */
#if defined __UCLIBC_HAS_REALTIME__
@@ -118,7 +118,7 @@ unsigned int sleep (unsigned int seconds)
}
#endif
#else /* __UCLIBC_HAS_REALTIME__ */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* no nanosleep, use signals and alarm() */
static void sleep_alarm_handler(int attribute_unused sig)
{
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index 219e3fdc8..3021db8e1 100644
--- a/libc/unistd/usershell.c
+++ b/libc/unistd/usershell.c
@@ -42,8 +42,8 @@
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-libc_hidden_proto(fstat)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(__fsetlocking)
libc_hidden_proto(fileno)