maint: avoid -Werror=missing-prototypes warning in oldfind

oldfind.c:169:1: error: no previous prototype for ‘get_current_dirfd’ [-Werror=missing-prototypes]
 get_current_dirfd (void)
 ^~~~~~~~~~~~~~~~~

* find/oldfind.c (get_current_dirfd): Remove unused function.
This commit is contained in:
Bernhard Voelker 2017-02-02 00:17:23 +01:00
parent f2b49021e7
commit e4e142a8dc

View File

@ -159,12 +159,6 @@ type_to_mode (unsigned type)
#endif
int
get_current_dirfd (void)
{
return AT_FDCWD;
}
/* CAUTION: this is the entry point for the oldfind executable, which is not the binary that
* will actually get installed. See ftsfind.c. */
int