summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/daemon.c8
-rw-r--r--libc/unistd/exec.c14
-rw-r--r--libc/unistd/getlogin.c2
-rw-r--r--libc/unistd/getopt-susv3.c2
-rw-r--r--libc/unistd/getopt_long-simple.c2
-rw-r--r--libc/unistd/getpass.c16
-rw-r--r--libc/unistd/sleep.c2
-rw-r--r--libc/unistd/sysconf.c6
-rw-r--r--libc/unistd/ualarm.c2
-rw-r--r--libc/unistd/usershell.c6
-rw-r--r--libc/unistd/usleep.c2
11 files changed, 31 insertions, 31 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 29fd56ceb..5bd6f39ed 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -51,10 +51,10 @@
/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
/* libc_hidden_proto(_exit) */
-libc_hidden_proto(dup2)
-libc_hidden_proto(setsid)
-libc_hidden_proto(chdir)
-libc_hidden_proto(fork)
+/* libc_hidden_proto(dup2) */
+/* libc_hidden_proto(setsid) */
+/* libc_hidden_proto(chdir) */
+/* libc_hidden_proto(fork) */
int daemon( int nochdir, int noclose )
{
diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c
index 057f7ff2c..91ba7bba8 100644
--- a/libc/unistd/exec.c
+++ b/libc/unistd/exec.c
@@ -27,18 +27,18 @@
#include <unistd.h>
#include <sys/mman.h>
-libc_hidden_proto(execl)
-libc_hidden_proto(execle)
-libc_hidden_proto(execlp)
-libc_hidden_proto(execv)
-libc_hidden_proto(execvp)
+/* libc_hidden_proto(execl) */
+/* libc_hidden_proto(execle) */
+/* libc_hidden_proto(execlp) */
+/* libc_hidden_proto(execv) */
+/* libc_hidden_proto(execvp) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(execve)
+/* libc_hidden_proto(execve) */
/* libc_hidden_proto(mmap) */
-libc_hidden_proto(munmap)
+/* libc_hidden_proto(munmap) */
/* libc_hidden_proto(getenv) */
/**********************************************************************/
diff --git a/libc/unistd/getlogin.c b/libc/unistd/getlogin.c
index 25d99bd9d..e97b662f1 100644
--- a/libc/unistd/getlogin.c
+++ b/libc/unistd/getlogin.c
@@ -20,7 +20,7 @@
* the user specify whatever they want via the LOGNAME environment
* variable, or we return NULL if getenv() fails to find anything */
-libc_hidden_proto(getlogin)
+/* libc_hidden_proto(getlogin) */
char * getlogin(void)
{
return (getenv("LOGNAME"));
diff --git a/libc/unistd/getopt-susv3.c b/libc/unistd/getopt-susv3.c
index fc8e32111..00c08d114 100644
--- a/libc/unistd/getopt-susv3.c
+++ b/libc/unistd/getopt-susv3.c
@@ -46,7 +46,7 @@ int optind = 1;
int optopt = 0;
char *optarg = NULL;
-libc_hidden_proto(getopt)
+/* libc_hidden_proto(getopt) */
int getopt(int argc, char * const argv[], const char *optstring)
{
static const char *o; /* multi opt position */
diff --git a/libc/unistd/getopt_long-simple.c b/libc/unistd/getopt_long-simple.c
index 2dae341a3..233884438 100644
--- a/libc/unistd/getopt_long-simple.c
+++ b/libc/unistd/getopt_long-simple.c
@@ -8,7 +8,7 @@
#include <getopt.h>
#include <stdio.h>
-libc_hidden_proto(getopt)
+/* libc_hidden_proto(getopt) */
static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly)
{
diff --git a/libc/unistd/getpass.c b/libc/unistd/getpass.c
index 5c1e09901..ee54429a0 100644
--- a/libc/unistd/getpass.c
+++ b/libc/unistd/getpass.c
@@ -24,18 +24,18 @@
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(tcsetattr)
-libc_hidden_proto(tcgetattr)
-libc_hidden_proto(setvbuf)
+/* libc_hidden_proto(tcsetattr) */
+/* libc_hidden_proto(tcgetattr) */
+/* libc_hidden_proto(setvbuf) */
/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
-libc_hidden_proto(fileno)
-libc_hidden_proto(fflush)
+/* libc_hidden_proto(fileno) */
+/* libc_hidden_proto(fflush) */
/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(fputs) */
-libc_hidden_proto(fputc)
-libc_hidden_proto(putc)
-libc_hidden_proto(__fputc_unlocked)
+/* libc_hidden_proto(fputc) */
+/* libc_hidden_proto(putc) */
+/* libc_hidden_proto(__fputc_unlocked) */
/* It is desirable to use this bit on systems that have it.
The only bit of terminal state we want to twiddle is echoing, which is
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 93d033ed1..e7152c46b 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -23,7 +23,7 @@
#include <signal.h>
#include <unistd.h>
-libc_hidden_proto(sleep)
+/* libc_hidden_proto(sleep) */
/* libc_hidden_proto(sigaction) */
/* libc_hidden_proto(sigprocmask) */
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index 549c13ca6..37ccd4d63 100644
--- a/libc/unistd/sysconf.c
+++ b/libc/unistd/sysconf.c
@@ -34,10 +34,10 @@
#include <regex.h>
#endif
-libc_hidden_proto(sysconf)
+/* libc_hidden_proto(sysconf) */
-libc_hidden_proto(getpagesize)
-libc_hidden_proto(getdtablesize)
+/* libc_hidden_proto(getpagesize) */
+/* libc_hidden_proto(getdtablesize) */
#ifndef __UCLIBC_CLK_TCK_CONST
#error __UCLIBC_CLK_TCK_CONST not defined!
diff --git a/libc/unistd/ualarm.c b/libc/unistd/ualarm.c
index 07bea2a50..191f996b5 100644
--- a/libc/unistd/ualarm.c
+++ b/libc/unistd/ualarm.c
@@ -9,7 +9,7 @@
#include <sys/types.h>
#include <unistd.h>
-libc_hidden_proto(setitimer)
+/* libc_hidden_proto(setitimer) */
useconds_t ualarm(useconds_t value, useconds_t interval)
{
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index 3021db8e1..9896bd3ef 100644
--- a/libc/unistd/usershell.c
+++ b/libc/unistd/usershell.c
@@ -45,9 +45,9 @@
/* libc_hidden_proto(fstat) */
/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
-libc_hidden_proto(__fsetlocking)
-libc_hidden_proto(fileno)
-libc_hidden_proto(fgets_unlocked)
+/* libc_hidden_proto(__fsetlocking) */
+/* libc_hidden_proto(fileno) */
+/* libc_hidden_proto(fgets_unlocked) */
#ifdef __UCLIBC_HAS_XLOCALE__
/* libc_hidden_proto(__ctype_b_loc) */
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
diff --git a/libc/unistd/usleep.c b/libc/unistd/usleep.c
index 8a27f900a..daeda0982 100644
--- a/libc/unistd/usleep.c
+++ b/libc/unistd/usleep.c
@@ -22,7 +22,7 @@ int usleep (__useconds_t usec)
return(nanosleep(&ts, NULL));
}
#else /* __UCLIBC_HAS_REALTIME__ */
-libc_hidden_proto(select)
+/* libc_hidden_proto(select) */
int usleep (__useconds_t usec)
{
struct timeval tv;