mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 12:29:17 +08:00
getdents.c: Fix missing prototype warnings
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user