mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
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:
parent
f2b49021e7
commit
e4e142a8dc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user