* Patch for glibc 2.1.3 warnings
@ 2000-01-06 3:58 Andreas Jaeger
0 siblings, 0 replies; only message in thread
From: Andreas Jaeger @ 2000-01-06 3:58 UTC (permalink / raw)
To: GNU libc hacker
glibc 2.1.3pre1 produces these warnings:
../sysdeps/posix/pread.c:32: warning: implicit declaration of function `__libc_lseek'
../sysdeps/posix/pwrite.c:32: warning: implicit declaration of function `__libc_lseek'
../sysdeps/posix/pread.c:32: warning: implicit declaration of function `__libc_lseek'
../sysdeps/posix/pwrite.c:32: warning: implicit declaration of function `__libc_lseek'
../sysdeps/posix/open64.c:37: warning: implicit declaration of function `__libc_open'
../sysdeps/posix/open64.c:37: warning: implicit declaration of function `__libc_open'
Uli, could you apply the appended patch from the mainline, please?
Btw. the changes from Roland for 2.1.3 might need to go into 2.2 also.
Roland, I wish you relaxing vacation and hope you remember to do this
when you're back.
Thanks,
Andreas
1999-12-21 Andreas Schwab <schwab@suse.de>
* include/unistd.h: Declare __libc_lseek.
1999-12-19 Andreas Jaeger <aj@suse.de>
* include/fcntl.h: Declare __libc_fcntl.
* include/unistd.h: Move __libc_open and __libc_open64 to ...
* include/fcntl.h: ...here.
============================================================
Index: include/unistd.h
--- include/unistd.h 1999/12/19 05:56:47 1.4.2.3
+++ include/unistd.h 2000/01/06 11:31:40
@@ -4,9 +4,8 @@
/* Now define the internal interfaces. */
extern int __access __P ((__const char *__name, int __type));
extern int __euidaccess __P ((__const char *__name, int __type));
-extern int __libc_open64 (const char *file, int oflag, ...);
-extern int __libc_open (const char *file, int oflag, ...);
extern __off64_t __lseek64 __P ((int __fd, __off64_t __offset, int __whence));
+extern __off_t __libc_lseek __P ((int __fd, __off_t __offset, int __whence));
extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
extern ssize_t __pread __P ((int __fd, __ptr_t __buf, size_t __nbytes,
__off_t __offset));
============================================================
Index: include/fcntl.h
--- include/fcntl.h 1998/09/06 23:38:38 1.3
+++ include/fcntl.h 2000/01/06 11:31:40
@@ -3,4 +3,7 @@
/* Now define the internal interfaces. */
extern int __open64 __P ((__const char *__file, int __oflag, ...));
+extern int __libc_open64 __P ((const char *file, int oflag, ...));
+extern int __libc_open __P ((const char *file, int oflag, ...));
+extern int __libc_fcntl __P ((int fd, int cmd, ...));
#endif
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-06 3:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-06 3:58 Patch for glibc 2.1.3 warnings Andreas Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).