Fix compile time warning about unused functions.
authorNick Clifton <nickc@redhat.com>
Mon, 19 Apr 2021 08:41:04 +0000 (09:41 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 19 Apr 2021 08:41:04 +0000 (09:41 +0100)
binutils * rename.c: (get_stat_atime_ns): Add prototype.
(get_stat_mtime_ns): Add prototype.

binutils/ChangeLog
binutils/rename.c

index 1eb42d18392dccd948dc5081a5214c7fa640824d..b0b7115feb8afe93c282a901ebb84d0ed64165c9 100644 (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
index 544225d73f7e4393bd9d7953c103aec73e8c7aad..8826917c18c747c5d68e107c95b1ab0b79a62418 100644 (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)
This page took 0.026092 seconds and 4 git commands to generate.