summaryrefslogtreecommitdiff
path: root/usr.bin/find/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/find/main.c')
-rw-r--r--usr.bin/find/main.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 5aab177..6ff7e3c 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -32,17 +32,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95";
-#else
-__COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\
- The Regents of the University of California. All rights reserved.");
-__RCSID("$NetBSD: main.c,v 1.31 2013/01/24 17:50:08 christos Exp $");
-#endif
-#endif /* not lint */
-
#include <sys/types.h>
#include <sys/stat.h>
@@ -53,6 +42,7 @@ __RCSID("$NetBSD: main.c,v 1.31 2013/01/24 17:50:08 christos Exp $");
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
+#include <bsd/stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
@@ -67,9 +57,9 @@ int isdepth; /* do directories on post-order visit */
int isoutput; /* user specified output operator */
int issort; /* sort directory entries */
int isxargs; /* don't permit xargs delimiting chars */
-int regcomp_flags = REG_BASIC; /* regex compilation flags */
+int regcomp_flags = 0; /* regex compilation flags */
-__dead static void usage(void);
+static void usage(void);
int
main(int argc, char *argv[])