summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:26:50 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:26:50 -0500
commit8818a57e8e7b6821bbf8701835c3c8cfaf729cd7 (patch)
treeb170757c6b1589066281d31d65610571a2fe849c
parent7672573e52e652a5b800638bd8605c1eee7c54b6 (diff)
downloaduserland-8818a57e8e7b6821bbf8701835c3c8cfaf729cd7.tar.gz
userland-8818a57e8e7b6821bbf8701835c3c8cfaf729cd7.tar.bz2
userland-8818a57e8e7b6821bbf8701835c3c8cfaf729cd7.tar.xz
userland-8818a57e8e7b6821bbf8701835c3c8cfaf729cd7.zip
usr.bin/pathchk: make buildable
-rw-r--r--usr.bin/pathchk/pathchk.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/pathchk/pathchk.c b/usr.bin/pathchk/pathchk.c
index 0f7f5c1..3a8e9b4 100644
--- a/usr.bin/pathchk/pathchk.c
+++ b/usr.bin/pathchk/pathchk.c
@@ -28,11 +28,6 @@
* from FreeBSD: pathchk.c,v 1.4 2002/12/15 00:40:47 tjr Exp
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__RCSID("$NetBSD: pathchk.c,v 1.2 2011/09/16 15:39:28 joerg Exp $");
-#endif /* !lint */
-
#include <sys/types.h>
#include <sys/stat.h>
@@ -46,7 +41,7 @@ __RCSID("$NetBSD: pathchk.c,v 1.2 2011/09/16 15:39:28 joerg Exp $");
static int check(const char *);
static int portable(const char *);
-__dead static void usage(void);
+static void usage(void);
static int pflag; /* Perform portability checks */