From 56cfd5f830f2594f04823745429bc5365f350015 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 5 Jan 2006 05:29:48 +0000 Subject: ANSI styled git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- missing/flock.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'missing/flock.c') diff --git a/missing/flock.c b/missing/flock.c index ed619f0e9..7a5a58aaa 100644 --- a/missing/flock.c +++ b/missing/flock.c @@ -23,9 +23,7 @@ #include int -flock(fd, operation) - int fd; - int operation; +flock(int fd, int operation) { struct flock lock; @@ -90,9 +88,7 @@ flock(fd, operation) # endif int -flock(fd, operation) - int fd; - int operation; +flock(int fd, int operation) { switch (operation) { @@ -124,9 +120,7 @@ flock(fd, operation) } #elif !defined _WIN32 int -flock(fd, operation) - int fd; - int operation; +flock(int fd, int operation) { rb_notimplement(); return -1; -- cgit