aboutsummaryrefslogtreecommitdiffstats
path: root/missing/flock.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/flock.c')
-rw-r--r--missing/flock.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/missing/flock.c b/missing/flock.c
index ed619f0e91..7a5a58aaa7 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;