forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user