summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/closedir.c2
-rw-r--r--libc/misc/dirent/dirfd.c2
-rw-r--r--libc/misc/dirent/opendir.c2
-rw-r--r--libc/misc/dirent/readdir.c2
-rw-r--r--libc/misc/dirent/readdir64.c2
-rw-r--r--libc/misc/dirent/readdir64_r.c2
-rw-r--r--libc/misc/dirent/readdir_r.c2
-rw-r--r--libc/misc/dirent/scandir.c8
-rw-r--r--libc/misc/dirent/scandir64.c8
9 files changed, 15 insertions, 15 deletions
diff --git a/libc/misc/dirent/closedir.c b/libc/misc/dirent/closedir.c
index 33ef6098c..466e600ac 100644
--- a/libc/misc/dirent/closedir.c
+++ b/libc/misc/dirent/closedir.c
@@ -10,7 +10,7 @@
#include <unistd.h>
#include "dirstream.h"
-libc_hidden_proto(closedir)
+/* libc_hidden_proto(closedir) */
/* libc_hidden_proto(close) */
int closedir(DIR * dir)
diff --git a/libc/misc/dirent/dirfd.c b/libc/misc/dirent/dirfd.c
index c6f46e965..e5b41bc6b 100644
--- a/libc/misc/dirent/dirfd.c
+++ b/libc/misc/dirent/dirfd.c
@@ -8,7 +8,7 @@
#include <errno.h>
#include "dirstream.h"
-libc_hidden_proto(dirfd)
+/* libc_hidden_proto(dirfd) */
int dirfd(DIR * dir)
{
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c
index 4a5a562f8..50e4082da 100644
--- a/libc/misc/dirent/opendir.c
+++ b/libc/misc/dirent/opendir.c
@@ -14,7 +14,7 @@
#include <sys/stat.h>
#include "dirstream.h"
-libc_hidden_proto(opendir)
+/* libc_hidden_proto(opendir) */
/* libc_hidden_proto(open) */
/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
diff --git a/libc/misc/dirent/readdir.c b/libc/misc/dirent/readdir.c
index 2fb7a7246..e92c4ad58 100644
--- a/libc/misc/dirent/readdir.c
+++ b/libc/misc/dirent/readdir.c
@@ -13,7 +13,7 @@
#include <dirent.h>
#include "dirstream.h"
-libc_hidden_proto(readdir)
+/* libc_hidden_proto(readdir) */
struct dirent *readdir(DIR * dir)
{
diff --git a/libc/misc/dirent/readdir64.c b/libc/misc/dirent/readdir64.c
index e8a29da96..3aaef5139 100644
--- a/libc/misc/dirent/readdir64.c
+++ b/libc/misc/dirent/readdir64.c
@@ -13,7 +13,7 @@
#include <dirent.h>
#include "dirstream.h"
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(readdir64) */
struct dirent64 *readdir64(DIR * dir)
{
ssize_t bytes;
diff --git a/libc/misc/dirent/readdir64_r.c b/libc/misc/dirent/readdir64_r.c
index 2958b1d1a..d394fdb8f 100644
--- a/libc/misc/dirent/readdir64_r.c
+++ b/libc/misc/dirent/readdir64_r.c
@@ -15,7 +15,7 @@
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(readdir64_r)
+/* libc_hidden_proto(readdir64_r) */
int readdir64_r(DIR *dir, struct dirent64 *entry, struct dirent64 **result)
{
int ret;
diff --git a/libc/misc/dirent/readdir_r.c b/libc/misc/dirent/readdir_r.c
index 194af621f..51f483ba5 100644
--- a/libc/misc/dirent/readdir_r.c
+++ b/libc/misc/dirent/readdir_r.c
@@ -13,7 +13,7 @@
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(readdir_r)
+/* libc_hidden_proto(readdir_r) */
int readdir_r(DIR *dir, struct dirent *entry, struct dirent **result)
{
int ret;
diff --git a/libc/misc/dirent/scandir.c b/libc/misc/dirent/scandir.c
index 9b0f7385a..9f1055439 100644
--- a/libc/misc/dirent/scandir.c
+++ b/libc/misc/dirent/scandir.c
@@ -13,10 +13,10 @@
#include "dirstream.h"
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(readdir)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(readdir) */
int scandir(const char *dir, struct dirent ***namelist,
int (*selector) (const struct dirent *),
diff --git a/libc/misc/dirent/scandir64.c b/libc/misc/dirent/scandir64.c
index de294c63a..bbd452d50 100644
--- a/libc/misc/dirent/scandir64.c
+++ b/libc/misc/dirent/scandir64.c
@@ -31,10 +31,10 @@
#include "dirstream.h"
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(opendir)
-libc_hidden_proto(closedir)
-libc_hidden_proto(qsort)
-libc_hidden_proto(readdir64)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(qsort) */
+/* libc_hidden_proto(readdir64) */
int scandir64(const char *dir, struct dirent64 ***namelist,
int (*selector) (const struct dirent64 *),