diff options
author | imp <imp@FreeBSD.org> | 2009-03-09 13:32:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-03-09 13:32:19 +0000 |
commit | 0f54c73393724d8a82881b1094aa0f3efdfc13a8 (patch) | |
tree | 7d90b0294d025466d190861d475cfe4b1b1e433e /sys/ddb | |
parent | e71197fd79e87cc55eb68e3738d42dc0081e9927 (diff) | |
download | FreeBSD-src-0f54c73393724d8a82881b1094aa0f3efdfc13a8.zip FreeBSD-src-0f54c73393724d8a82881b1094aa0f3efdfc13a8.tar.gz |
Prefer prototypes to k&r definitions.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_expr.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sys/ddb/db_expr.c b/sys/ddb/db_expr.c index 0bf6c83..eaab874 100644 --- a/sys/ddb/db_expr.c +++ b/sys/ddb/db_expr.c @@ -45,8 +45,7 @@ static boolean_t db_term(db_expr_t *valuep); static boolean_t db_unary(db_expr_t *valuep); static boolean_t -db_term(valuep) - db_expr_t *valuep; +db_term(db_expr_t *valuep) { int t; @@ -100,8 +99,7 @@ db_term(valuep) } static boolean_t -db_unary(valuep) - db_expr_t *valuep; +db_unary(db_expr_t *valuep) { int t; @@ -128,8 +126,7 @@ db_unary(valuep) } static boolean_t -db_mult_expr(valuep) - db_expr_t *valuep; +db_mult_expr(db_expr_t *valuep) { db_expr_t lhs, rhs; int t; @@ -165,8 +162,7 @@ db_mult_expr(valuep) } static boolean_t -db_add_expr(valuep) - db_expr_t *valuep; +db_add_expr(db_expr_t *valuep) { db_expr_t lhs, rhs; int t; @@ -192,8 +188,7 @@ db_add_expr(valuep) } static boolean_t -db_shift_expr(valuep) - db_expr_t *valuep; +db_shift_expr(db_expr_t *valuep) { db_expr_t lhs, rhs; int t; @@ -225,8 +220,7 @@ db_shift_expr(valuep) } int -db_expression(valuep) - db_expr_t *valuep; +db_expression(db_expr_t *valuep) { return (db_shift_expr(valuep)); } |