summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
*