Download raw body.
doas: make unveilcommands() static
unveilcommands() is only used within doas.c and is not declared
in doas.h. Make it static, per style(9).
Index: doas.c
===================================================================
RCS file: /cvs/src/usr.bin/doas/doas.c,v
diff -u -p -u -r1.99 doas.c
--- doas.c 15 Feb 2024 18:57:58 -0000 1.99
+++ doas.c 3 May 2026 13:33:43 -0000
@@ -264,7 +264,7 @@ good:
}
}
-int
+static int
unveilcommands(const char *ipath, const char *cmd)
{
char *path = NULL, *p;
doas: make unveilcommands() static