Fix compile time warning about unused functions.

binutils * rename.c: (get_stat_atime_ns): Add prototype.
	(get_stat_mtime_ns): Add prototype.
This commit is contained in:
Nick Clifton
2021-04-19 09:41:04 +01:00
parent 2c2645d7a8
commit 4dee4f3ea1
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2021-04-19 Nick Clifton <nickc@redhat.com>
* rename.c: (get_stat_atime_ns): Add prototype.
(get_stat_mtime_ns): Add prototype.
2021-04-16 Alan Modra <amodra@gmail.com>
PR 27725

View File

@@ -102,6 +102,9 @@ simple_copy (int fromfd, const char *to,
# define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.st__tim.tv_nsec)
#endif
static inline long int get_stat_atime_ns (struct stat const *) ATTRIBUTE_UNUSED;
static inline long int get_stat_mtime_ns (struct stat const *) ATTRIBUTE_UNUSED;
/* Return the nanosecond component of *ST's access time. */
static inline long int
get_stat_atime_ns (struct stat const *st ATTRIBUTE_UNUSED)