svn commit: r189581 - head/sys/ddb
Warner Losh
imp at FreeBSD.org
Mon Mar 9 06:32:21 PDT 2009
Author: imp
Date: Mon Mar 9 13:32:19 2009
New Revision: 189581
URL: http://svn.freebsd.org/changeset/base/189581
Log:
Prefer prototypes to k&r definitions.
Modified:
head/sys/ddb/db_expr.c
Modified: head/sys/ddb/db_expr.c
==============================================================================
--- head/sys/ddb/db_expr.c Mon Mar 9 13:30:00 2009 (r189580)
+++ head/sys/ddb/db_expr.c Mon Mar 9 13:32:19 2009 (r189581)
@@ -45,8 +45,7 @@ static boolean_t db_term(db_expr_t *valu
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));
}
More information about the svn-src-all
mailing list