This change adds a declaration for `uk_syscall_r_fstat` as this syscall
is no longer implemented in vfscore and thus no longer implicitly
declared, previously causing a build warning.
GCC 14 and Clang no longer accept implicitly declared functions and will
error out in such situations.
Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1556
return __lxstat_helper(1, pathname, st);
}
+/* The fstat syscall is no longer implemented here; need to declare */
+long uk_syscall_r_fstat(long dirfd, long st);
+
static int __fxstatat_helper(int ver __unused, int dirfd, const char *pathname,
struct stat *st, int flags)
{