+2021-04-16  Alan Modra  <amodra@gmail.com>
+
+       PR 27725
+       * rename.c (get_stat_atime, get_stat_mtime): Make static.
+       (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
+
 2021-04-15  Pekka Seppänen  <pexu@sourceware.mail.kapsi.fi>
 
        PR 27725
 
 #endif
 
 /* Return the nanosecond component of *ST's access time.  */
-inline long int
+static inline long int
 get_stat_atime_ns (struct stat const *st ATTRIBUTE_UNUSED)
 {
 # if defined STAT_TIMESPEC
 }
 
 /* Return the nanosecond component of *ST's data modification time.  */
-inline long int
+static inline long int
 get_stat_mtime_ns (struct stat const *st ATTRIBUTE_UNUSED)
 {
 # if defined STAT_TIMESPEC
 }
 
 /* Return *ST's access time.  */
-inline struct timespec
+static inline struct timespec
 get_stat_atime (struct stat const *st)
 {
 #ifdef STAT_TIMESPEC
 }
 
 /* Return *ST's data modification time.  */
-inline struct timespec
+static inline struct timespec
 get_stat_mtime (struct stat const *st)
 {
 #ifdef STAT_TIMESPEC