summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/fpathconf.c3
-rw-r--r--libc/unistd/pathconf.c1
-rw-r--r--libc/unistd/sleep.c3
-rw-r--r--libc/unistd/usershell.c4
4 files changed, 0 insertions, 11 deletions
diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c
index 6f618ee0c..02b4445a7 100644
--- a/libc/unistd/fpathconf.c
+++ b/libc/unistd/fpathconf.c
@@ -24,9 +24,6 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/statfs.h>
-//#include <sys/statvfs.h>
-
-//#include "linux_fsinfo.h"
#ifndef __USE_FILE_OFFSET64
diff --git a/libc/unistd/pathconf.c b/libc/unistd/pathconf.c
index bbdceabcc..84f20ed81 100644
--- a/libc/unistd/pathconf.c
+++ b/libc/unistd/pathconf.c
@@ -29,7 +29,6 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/statfs.h>
-//#include <sys/statvfs.h>
extern __typeof(statfs) __libc_statfs;
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index de4c14a24..0c0416e6d 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -27,9 +27,6 @@
/* version perusing nanosleep */
#if defined __UCLIBC_HAS_REALTIME__
-//libc_hidden_proto(__sigaddset)
-//libc_hidden_proto(__sigemptyset)
-//libc_hidden_proto(__sigismember)
#if 0
/* This is a quick and dirty, but not 100% compliant with
diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c
index 46b1b98ad..10c5bf1a5 100644
--- a/libc/unistd/usershell.c
+++ b/libc/unistd/usershell.c
@@ -42,10 +42,6 @@
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-#ifdef __UCLIBC_HAS_XLOCALE__
-#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-#endif
-
/*
* Local shells should NOT be added here. They should be added in
* /etc/shells.