getdents.c: Fix missing prototype warnings

This commit is contained in:
Joel Sherrill
2013-09-22 10:34:20 -05:00
parent 59a2b2b251
commit 37a7c27e29
+10 -1
View File
@@ -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.
*