Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libz fix backward-compatible upgrade function name. (__R...
details: https://anonhg.NetBSD.org/src/rev/b68067a09774
branches: trunk
changeset: 477660:b68067a09774
user: itojun <itojun%NetBSD.org@localhost>
date: Tue Oct 26 22:16:48 1999 +0000
description:
fix backward-compatible upgrade function name. (__RENAME thing)
the digit after the function name must be (shlib major + 1).
From: Klaus Klein <kleink%ira.uka.de@localhost>
diffstat:
lib/libz/gzio_compat.c | 6 +++---
lib/libz/zlib.h | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (59 lines):
diff -r 91dc12e990a9 -r b68067a09774 lib/libz/gzio_compat.c
--- a/lib/libz/gzio_compat.c Tue Oct 26 19:10:26 1999 +0000
+++ b/lib/libz/gzio_compat.c Tue Oct 26 22:16:48 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gzio_compat.c,v 1.1 1999/10/26 03:42:58 itojun Exp $ */
+/* $NetBSD: gzio_compat.c,v 1.2 1999/10/26 22:16:48 itojun Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -45,11 +45,11 @@
long offset;
int whence;
{
- return (long)__gzseek15(file, (off_t)offset, whence);
+ return (long)__gzseek1(file, (off_t)offset, whence);
}
long ZEXPORT gztell (file)
gzFile file;
{
- return (long)__gztell15(file);
+ return (long)__gztell1(file);
}
diff -r 91dc12e990a9 -r b68067a09774 lib/libz/zlib.h
--- a/lib/libz/zlib.h Tue Oct 26 19:10:26 1999 +0000
+++ b/lib/libz/zlib.h Tue Oct 26 22:16:48 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zlib.h,v 1.8 1999/10/26 03:42:58 itojun Exp $ */
+/* $NetBSD: zlib.h,v 1.9 1999/10/26 22:16:48 itojun Exp $ */
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.1.3, July 9th, 1998
@@ -768,12 +768,12 @@
#ifdef __ZLIB_BACKWARD_COMPAT
ZEXTERN long ZEXPORT gzseek OF((gzFile file,
long offset, int whence));
-ZEXTERN z_off_t ZEXPORT __gzseek15 OF((gzFile file,
+ZEXTERN z_off_t ZEXPORT __gzseek1 OF((gzFile file,
z_off_t offset, int whence));
#else
ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile file,
z_off_t offset, int whence))
- __RENAME(__gzseek15);
+ __RENAME(__gzseek1);
#endif
/*
Sets the starting position for the next gzread or gzwrite on the
@@ -804,9 +804,9 @@
*/
#ifdef __ZLIB_BACKWARD_COMPAT
ZEXTERN long ZEXPORT gztell OF((gzFile file));
-ZEXTERN z_off_t ZEXPORT __gztell15 OF((gzFile file));
+ZEXTERN z_off_t ZEXPORT __gztell1 OF((gzFile file));
#else
-ZEXTERN z_off_t ZEXPORT gztell OF((gzFile file)) __RENAME(__gztell15);
+ZEXTERN z_off_t ZEXPORT gztell OF((gzFile file)) __RENAME(__gztell1);
#endif
/*
Returns the starting position for the next gzread or gzwrite on the
Home |
Main Index |
Thread Index |
Old Index