From efd279db50eed5ccab8d56c3509ca2658d5b389d Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 24 May 2019 11:00:22 -0500 Subject: bin/mkdir: make buildable with libbsd --- bin/mkdir/mkdir.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c index cb60b88..1500196 100644 --- a/bin/mkdir/mkdir.c +++ b/bin/mkdir/mkdir.c @@ -29,20 +29,6 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1983, 1992, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94"; -#else -__RCSID("$NetBSD: mkdir.c,v 1.38 2011/08/29 14:45:28 joerg Exp $"); -#endif -#endif /* not lint */ - #include #include #include @@ -52,11 +38,13 @@ __RCSID("$NetBSD: mkdir.c,v 1.38 2011/08/29 14:45:28 joerg Exp $"); #include #include #include +#include #include #include +#include -static int mkpath(char *, mode_t, mode_t); -__dead static void usage(void); +static int mkpath(char *, mode_t, mode_t); +static void usage(void); int main(int argc, char *argv[]) -- cgit v1.2.3-70-g09d2