From 37a7c27e29f0c2d91785821410b0d4c5f18ed310 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 22 Sep 2013 10:34:20 -0500 Subject: getdents.c: Fix missing prototype warnings --- cpukit/libcsupport/src/getdents.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 #include +/* + * Prototypes to avoid warnings + */ +int getdents( + int dd_fd, + char *dd_buf, + int dd_len +); + /** * SVR4 and SVID extension required by Newlib readdir() family. * -- cgit v1.2.3