This commit fixes the definition of pointer arguments in GCC >= 11.
Signed-off-by: Takeru Wada <takew@asg.cs.tuat.ac.jp>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #800
int mknodat(int, const char *, mode_t, dev_t);
#endif
-int futimens(int, const struct timespec [2]);
-int utimensat(int, const char *, const struct timespec [2], int);
+int futimens(int, const struct timespec *);
+int utimensat(int, const char *, const struct timespec *, int);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int lchmod(const char *, mode_t);