Adapt find to the move of string_to_flags() and flags_to_string() to

libutil.
This commit is contained in:
he 2006-12-14 20:55:56 +00:00
parent 11b0ba9c5d
commit cb49bdddc9
2 changed files with 4 additions and 8 deletions

View File

@ -1,15 +1,12 @@
# $NetBSD: Makefile,v 1.11 2006/10/11 19:51:10 apb Exp $
# $NetBSD: Makefile,v 1.12 2006/12/14 20:55:56 he Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c stat_flags.c
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
WARNS= 4
CPPFLAGS+= -I${NETBSDSRCDIR}/bin/ls
.PATH: ${NETBSDSRCDIR}/bin/ls
LDADD+=-lutil
DPADD+=${LIBUTIL}

View File

@ -1,4 +1,4 @@
/* $NetBSD: function.c,v 1.59 2006/11/09 20:50:53 christos Exp $ */
/* $NetBSD: function.c,v 1.60 2006/12/14 20:55:56 he Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: function.c,v 1.59 2006/11/09 20:50:53 christos Exp $");
__RCSID("$NetBSD: function.c,v 1.60 2006/12/14 20:55:56 he Exp $");
#endif
#endif /* not lint */
@ -63,7 +63,6 @@ __RCSID("$NetBSD: function.c,v 1.59 2006/11/09 20:50:53 christos Exp $");
#include <util.h>
#include "find.h"
#include "stat_flags.h"
#define COMPARE(a, b) { \
switch (plan->flags) { \