summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/operator.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/find/operator.c')
-rw-r--r--usr.bin/find/operator.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c
index c67abc0..c774efa 100644
--- a/usr.bin/find/operator.c
+++ b/usr.bin/find/operator.c
@@ -39,6 +39,7 @@
static char sccsid[] = "@(#)operator.c 8.1 (Berkeley) 6/6/93";
#endif
#endif /* not lint */
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -58,8 +59,7 @@ static PLAN *yankexpr(PLAN **);
* destructively removes the top from the plan
*/
static PLAN *
-yanknode(planp)
- PLAN **planp; /* pointer to top of plan (modified) */
+yanknode(PLAN **planp)
{
PLAN *node; /* top node removed from the plan */
@@ -77,8 +77,7 @@ yanknode(planp)
* simple node or a f_expr node containing a list of simple nodes.
*/
static PLAN *
-yankexpr(planp)
- PLAN **planp; /* pointer to top of plan (modified) */
+yankexpr(PLAN **planp)
{
PLAN *next; /* temp node holding subexpression results */
PLAN *node; /* pointer to returned node or expression */
@@ -130,8 +129,7 @@ yankexpr(planp)
* replaces "parenthesized" plans in our search plan with "expr" nodes.
*/
PLAN *
-paren_squish(plan)
- PLAN *plan; /* plan with ( ) nodes */
+paren_squish(PLAN *plan)
{
PLAN *expr; /* pointer to next expression */
PLAN *tail; /* pointer to tail of result plan */
@@ -168,8 +166,7 @@ paren_squish(plan)
* compresses "!" expressions in our search plan.
*/
PLAN *
-not_squish(plan)
- PLAN *plan; /* plan to process */
+not_squish(PLAN *plan)
{
PLAN *next; /* next node being processed */
PLAN *node; /* temporary node used in f_not processing */
@@ -232,8 +229,7 @@ not_squish(plan)
* compresses -o expressions in our search plan.
*/
PLAN *
-or_squish(plan)
- PLAN *plan; /* plan with ors to be squished */
+or_squish(PLAN *plan)
{
PLAN *next; /* next node being processed */
PLAN *tail; /* pointer to tail of result plan */
OpenPOWER on IntegriCloud