Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio Oops, forgot to define weak aliases for publi...



details:   https://anonhg.NetBSD.org/src/rev/4f64e56439f7
branches:  trunk
changeset: 495320:4f64e56439f7
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Jul 26 08:52:57 2000 +0000

description:
Oops, forgot to define weak aliases for public names.
Fixes PR {pkg,lib}/10655.

diffstat:

 lib/libc/stdio/fseeko.c |  8 ++++++--
 lib/libc/stdio/ftello.c |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r d027a3ca82ae -r 4f64e56439f7 lib/libc/stdio/fseeko.c
--- a/lib/libc/stdio/fseeko.c   Wed Jul 26 07:40:52 2000 +0000
+++ b/lib/libc/stdio/fseeko.c   Wed Jul 26 08:52:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fseeko.c,v 1.1 2000/07/08 13:46:35 kleink Exp $        */
+/*     $NetBSD: fseeko.c,v 1.2 2000/07/26 08:52:57 kleink Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fseeko.c,v 1.1 2000/07/08 13:46:35 kleink Exp $");
+__RCSID("$NetBSD: fseeko.c,v 1.2 2000/07/26 08:52:57 kleink Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -53,6 +53,10 @@
 #include "local.h"
 #include "reentrant.h"
 
+#ifdef __weak_alias
+__weak_alias(fseeko, _fseeko)
+#endif
+
 #define        POS_ERR (-(fpos_t)1)
 
 /*
diff -r d027a3ca82ae -r 4f64e56439f7 lib/libc/stdio/ftello.c
--- a/lib/libc/stdio/ftello.c   Wed Jul 26 07:40:52 2000 +0000
+++ b/lib/libc/stdio/ftello.c   Wed Jul 26 08:52:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftello.c,v 1.1 2000/07/08 13:46:35 kleink Exp $        */
+/*     $NetBSD: ftello.c,v 1.2 2000/07/26 08:52:57 kleink Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: ftello.c,v 1.1 2000/07/08 13:46:35 kleink Exp $");
+__RCSID("$NetBSD: ftello.c,v 1.2 2000/07/26 08:52:57 kleink Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -48,6 +48,10 @@
 #include "local.h"
 #include "reentrant.h"
 
+#ifdef __weak_alias
+__weak_alias(ftello, _ftello)
+#endif
+
 /*
  * ftell: return current offset.
  */



Home | Main Index | Thread Index | Old Index