diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-05 05:29:48 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-05 05:29:48 +0000 |
| commit | 56cfd5f830f2594f04823745429bc5365f350015 (patch) | |
| tree | 46192ff2077a4de9754729c7bbae54dde51bb6f4 /missing/flock.c | |
| parent | 51ecb3ce20aa4d30815071dccfbc2785962fde97 (diff) | |
| download | ruby-56cfd5f830f2594f04823745429bc5365f350015.tar.gz ruby-56cfd5f830f2594f04823745429bc5365f350015.tar.xz ruby-56cfd5f830f2594f04823745429bc5365f350015.zip | |
ANSI styled
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/flock.c')
| -rw-r--r-- | missing/flock.c | 12 |
1 files changed, 3 insertions, 9 deletions
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 <errno.h> 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; |
