summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/lseek.c')
-rw-r--r--lib/libc/sys/lseek.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/lseek.c b/lib/libc/sys/lseek.c
index 1abb688a348..51d0676356a 100644
--- a/lib/libc/sys/lseek.c
+++ b/lib/libc/sys/lseek.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lseek.c,v 1.14 2007/06/05 18:11:48 kurt Exp $ */
+/* $OpenBSD: lseek.c,v 1.15 2011/10/16 06:29:56 guenther Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -36,16 +36,16 @@ off_t __syscall(quad_t, ...);
/* lseek is weak to support libpthread locking */
-WEAK_PROTOTYPE(lseek);
+STUB_PROTOTYPE(lseek);
-WEAK_ALIAS(lseek);
+STUB_ALIAS(lseek);
/*
* This function provides 64-bit offset padding that
* is not supplied by GCC 1.X but is supplied by GCC 2.X.
*/
off_t
-WEAK_NAME(lseek)(int fd, off_t offset, int whence)
+STUB_NAME(lseek)(int fd, off_t offset, int whence)
{
return (__syscall((quad_t)SYS_lseek, fd, 0, offset, whence));
}