From 51b081b4a0cf3da4d325aeb395e8157f0634f1e0 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 11 May 2019 18:23:50 -0500 Subject: bin/chmod: make buildable via libbsd --- bin/chmod/chmod.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index c10101e..160a163 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -29,21 +29,6 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT( -"@(#) Copyright (c) 1989, 1993, 1994\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94"; -#else -__RCSID("$NetBSD: chmod.c,v 1.38 2012/10/22 18:00:46 christos Exp $"); -#endif -#endif /* not lint */ - #include #include #include @@ -55,11 +40,13 @@ __RCSID("$NetBSD: chmod.c,v 1.38 2012/10/22 18:00:46 christos Exp $"); #include #include #include +#include #include #include +#include #include -__dead static void usage(void); +static void usage(void); struct option chmod_longopts[] = { { "reference", required_argument, 0, -- cgit v1.2.3-60-g2f50