From 5203a0a465a65bd5e6e40b6364bb0dbe05feb7cf Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 2 Feb 2002 06:24:13 +0000 Subject: o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9) --- bin/dd/position.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/dd/position.c') diff --git a/bin/dd/position.c b/bin/dd/position.c index 1a9c4b1..90019e7 100644 --- a/bin/dd/position.c +++ b/bin/dd/position.c @@ -60,7 +60,7 @@ static const char rcsid[] = * output. */ void -pos_in() +pos_in(void) { off_t cnt; int warned; @@ -123,7 +123,7 @@ pos_in() } void -pos_out() +pos_out(void) { struct mtop t_op; off_t cnt; -- cgit v1.1