diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-06 16:48:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-06 16:48:14 -0700 |
commit | 03af952060fee063679864d82cdd76f94d56d263 (patch) | |
tree | c5d020757b7fdb3e5d266bbc802e0f7f3798153c /io/lockf64.c | |
parent | c5757acd6e9aafcf042b6cd6d7f9e70d957e1e3a (diff) | |
download | glibc-03af952060fee063679864d82cdd76f94d56d263.tar.gz glibc-03af952060fee063679864d82cdd76f94d56d263.tar.xz glibc-03af952060fee063679864d82cdd76f94d56d263.zip |
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
Diffstat (limited to 'io/lockf64.c')
-rw-r--r-- | io/lockf64.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/io/lockf64.c b/io/lockf64.c index 80ca151c19..60516ebaad 100644 --- a/io/lockf64.c +++ b/io/lockf64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994,96,97,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1994-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,9 @@ #include <errno.h> #include <string.h> +/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T. */ +#ifndef __OFF_T_MATCHES_OFF64_T + /* lockf is a simplified interface to fcntl's locking facilities. */ int @@ -76,3 +79,5 @@ lockf64 (int fd, int cmd, off64_t len64) return __fcntl (fd, cmd, &fl); } + +#endif |