]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix fstatfs build failure
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Feb 2021 20:42:14 +0000 (17:42 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Feb 2021 20:45:24 +0000 (17:45 -0300)
It was added by 1bfbaf7130 where it added a libc_hidden_proto for
__fstatfs but it didn't update the Hurd version as well.

Checked with a build for i686-gnu.

sysdeps/mach/hurd/fstatfs.c

index 105683c8e844aeea6dbee99aa3afbbedf74ed846..0cef626f885061a398f33d1bb6796fa62d551ff8 100644 (file)
@@ -27,5 +27,5 @@ __fstatfs (int fd, struct statfs *buf)
   struct statfs64 buf64;
   return __fstatfs64 (fd, &buf64) ?: statfs64_conv (buf, &buf64);
 }
-
+libc_hidden_def (__fstatfs)
 weak_alias (__fstatfs, fstatfs)