aboutsummaryrefslogtreecommitdiffstats
path: root/ports/darwin/guts/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/darwin/guts/fcntl.c')
-rw-r--r--ports/darwin/guts/fcntl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/darwin/guts/fcntl.c b/ports/darwin/guts/fcntl.c
index ef42b33..1cc8258 100644
--- a/ports/darwin/guts/fcntl.c
+++ b/ports/darwin/guts/fcntl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Wind River Systems; see
+ * Copyright (c) 2011, 2012 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* int fcntl(int fd, int cmd, ... { struct flock *lock })
@@ -7,8 +7,6 @@
*/
int save_errno;
long long flag = 0;
- void *ptr = 0;
- off_t off = 0;
va_start(ap, cmd);
flag = va_arg(ap, long long);