]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 19:51:55 +0000 (19:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 19:51:55 +0000 (19:51 +0000)
1999-12-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/libc-start.c: Remove declaration of
__libc_open.  Move declaration of __libc_fcntl to ...
* include/fcntl.h: ...here.

* include/unistd.h: Move __libc_open and __libc_open64 to ...
* include/fcntl.h: ...here.

* malloc/malloc.h (__attribute_malloc__): Only define if hasn't
happened yet.

* malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
rename label.

ChangeLog
include/fcntl.h
include/unistd.h
malloc/Versions
malloc/malloc.h
sysdeps/generic/libc-start.c

index cdec1309c5a2016c8e91f453f396d633dec63eda..07d91906bc2e11098123d37d5af9557a65528752 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+1999-12-19  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/generic/libc-start.c: Remove declaration of
+       __libc_open.  Move declaration of __libc_fcntl to ...
+       * include/fcntl.h: ...here.
+
+       * include/unistd.h: Move __libc_open and __libc_open64 to ...
+       * include/fcntl.h: ...here.
+
+       * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
+       happened yet.
+
+       * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
+       rename label.
+
 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
index 8714d6aa147233d6ea40a7a9f28a856a3085e0b1..fae0beb064224592136fd99a9eabc3257b67f9d9 100644 (file)
@@ -3,4 +3,8 @@
 
 /* Now define the internal interfaces.  */
 extern int __open64 (__const char *__file, int __oflag, ...);
+extern int __libc_open64 (const char *file, int oflag, ...);
+extern int __libc_open (const char *file, int oflag, ...);
+extern int __libc_fcntl (int fd, int cmd, ...);
+
 #endif
index d8fc6cc6513d4428a9e21dcc30b0512169637a34..24e035bb9008c6ae364f58131cc3df961c46cfb0 100644 (file)
@@ -4,8 +4,6 @@
 /* Now define the internal interfaces.  */
 extern int __access (__const char *__name, int __type);
 extern int __euidaccess (__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 (int __fd, __off64_t __offset, int __whence);
 extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
 extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,
index 1a4454f22e8428b57facbe5e2e84151119799a39..e6bd731331e0d258baf7d5d7482a8f6b516255c6 100644 (file)
@@ -44,7 +44,7 @@ libc {
     # v*
     valloc;
   }
-  GLIBC_2.1 {
+  GLIBC_2.1.3 {
     # Special functions.
     __libc_freeres;
   }
index 15d4a44c1d14cc4910a223431130118d630ddf89..af908c1df8c7469bb93105d2fb3e45d5e9e04ee0 100644 (file)
@@ -55,7 +55,7 @@
 /* Used by GNU libc internals. */
 # define __malloc_size_t size_t
 # define __malloc_ptrdiff_t ptrdiff_t
-#else
+#elif !defined __attribute_malloc__
 # define __attribute_malloc__
 #endif
 
index ea3cbe6241937cab5df2df7ab6b6311af67e231d..7c0bc58a2a4e68dc33f17c75838c7574b35a38b6 100644 (file)
@@ -25,8 +25,6 @@
 #include <elf/ldsodefs.h>
 
 extern void __libc_init_first (int argc, char **argv, char **envp);
-extern int __libc_fcntl (int fd, int cmd, ...);
-extern int __libc_open  (const char *pathname, int flags, ...);
 
 extern int _dl_starting_up;
 weak_extern (_dl_starting_up)