]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/lseek.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / io / lseek.c
index 7fd6188a76fabdab9e054c9b5a95d120a04b4c6f..67305774bfc9de3e2afdca57649491de5dbf2977 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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
 
 /* Seek to OFFSET on FD, starting from WHENCE.  */
 off_t
-__lseek (fd, offset, whence)
-     int fd;
-     off_t offset;
-     int whence;
+__libc_lseek (int fd, off_t offset, int whence)
 {
   if (fd < 0)
     {
@@ -45,7 +42,8 @@ __lseek (fd, offset, whence)
   __set_errno (ENOSYS);
   return -1;
 }
+weak_alias (__libc_lseek, __lseek)
+weak_alias (__libc_lseek, lseek)
 stub_warning (lseek)
-libc_hidden_def (__lseek)
 
-weak_alias (__lseek, lseek)
+libc_hidden_def (__lseek)