Date: Mon, 9 Mar 2009 13:32:20 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189581 - head/sys/ddb Message-ID: <200903091332.n29DWKwK027837@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903091332.n29DWKwK027837>