]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite/path: s/__stat64_t64/void/
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 15 Sep 2024 10:03:00 +0000 (11:03 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 17 Sep 2024 03:01:34 +0000 (22:01 -0500)
commit62c97004f60f75cdd0ac7309782412f9b41bdd66
treebf51502469c91630fd6688bdc49639d9b287a5a9
parent33771fb453833cf44e3d8c32d289bbb69d18e6a8
testsuite/path: s/__stat64_t64/void/

The exact struct varies across the build-options, but in practise is
never __stat64_t64 - this is the internal name used within glibc.

When the fstat declaration with __fstat64_time64 asm linkage is used, we
have "struct stat". Whenever the `#define stat __stat64_time64` kicks
in, both function and struct get redefined/renamed.

Since we don't care about it (apart from the pointer part) just use void.

For more details glibc commit aa03f722f3 ("linux: Add {f}stat{at} y2038
support") added internal.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/131
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/path.c