summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:34:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:34:20 -0500
commit37a7c27e29f0c2d91785821410b0d4c5f18ed310 (patch)
treebc75c370c4ab0244546a9666c81c25f9cea9c75f
parentctermid.c: Fix missing prototype warnings (diff)
downloadrtems-37a7c27e29f0c2d91785821410b0d4c5f18ed310.tar.bz2
getdents.c: Fix missing prototype warnings
-rw-r--r--cpukit/libcsupport/src/getdents.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/getdents.c b/cpukit/libcsupport/src/getdents.c
index cb650159c6..92f5fc0da6 100644
--- a/cpukit/libcsupport/src/getdents.c
+++ b/cpukit/libcsupport/src/getdents.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -24,6 +24,15 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
+/*
+ * Prototypes to avoid warnings
+ */
+int getdents(
+ int dd_fd,
+ char *dd_buf,
+ int dd_len
+);
+
/**
* SVR4 and SVID extension required by Newlib readdir() family.
*