summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-14 20:18:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-14 20:18:13 +0000
commitd741406c1a0a4c1bd540d02f5fa5b7da4ddcbdfb (patch)
treecdd8b54910289adc1d9cb7b5a37d78fe57987642 /c
parentWarning removal from D. V. Henkel-Wallace <gumby@zembu.com>. (diff)
downloadrtems-d741406c1a0a4c1bd540d02f5fa5b7da4ddcbdfb.tar.bz2
Wrong prototype corrected.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/libcsupport/src/readdir.c2
-rw-r--r--c/src/lib/libc/readdir.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/readdir.c b/c/src/exec/libcsupport/src/readdir.c
index 7849e8612e..570cacd5de 100644
--- a/c/src/exec/libcsupport/src/readdir.c
+++ b/c/src/exec/libcsupport/src/readdir.c
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90";
#include <dirent.h>
-long getdents(
+int getdents(
int dd_fd,
char *dd_buf,
int dd_len
diff --git a/c/src/lib/libc/readdir.c b/c/src/lib/libc/readdir.c
index 7849e8612e..570cacd5de 100644
--- a/c/src/lib/libc/readdir.c
+++ b/c/src/lib/libc/readdir.c
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90";
#include <dirent.h>
-long getdents(
+int getdents(
int dd_fd,
char *dd_buf,
int dd_len