commit: 284ba88778232bee4d35c214d15e8e445f75abe0
parent 3a5203a9aee0ea507b4a372877ca3f90bb352857
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 21 Apr 2024 12:41:16 +0200
cmd/test: musl fix
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/cmd/test.c b/cmd/test.c
@@ -16,6 +16,9 @@
* as a builtin for /bin/sh (#define SHELL).
*/
+// For eaccess
+#define _GNU_SOURCE
+
#include <sys/types.h>
#include <sys/stat.h>
@@ -34,8 +37,6 @@
#else
#include <locale.h>
-static void error(const char *, ...) __dead2 __printf0like(1, 2);
-
static void
error(const char *msg, ...)
{
diff --git a/posix_utilities.txt b/posix_utilities.txt
@@ -129,7 +129,7 @@ tabs
tail
talk
tee: done
-test
+test: done
time: done
touch: done
tput: no