Hi
I'm not sure this is worth a diff, but here it is anyway.
Best,
Martin
Index: ps.c
===================================================================
RCS file: /cvs/src/bin/ps/ps.c,v
retrieving revision 1.76
diff -u -p -r1.76 ps.c
--- ps.c 16 Dec 2019 19:21:16 -0000 1.76
+++ ps.c 6 Apr 2020 09:54:47 -0000
@@ -69,10 +69,10 @@ int needcomm, needenv, neednlist, comman
enum sort { DEFAULT, SORTMEM, SORTCPU } sortby = DEFAULT;
-static char *kludge_oldps_options(char *);
-static int pscomp(const void *, const void *);
-static void scanvars(void);
-static void usage(void);
+static char *kludge_oldps_options(char *);
+static int pscomp(const void *, const void *);
+static void scanvars(void);
+static void __dead usage(void);
char dfmt[] = "pid tt state time command";
char tfmt[] = "pid tid tt state time command";
@@ -482,7 +482,7 @@ kludge_oldps_options(char *s)
return (newopts);
}
-static void
+static void __dead
usage(void)
{
(void)fprintf(stderr,