From fd091d3f3464d5e3c625ce89c83b4dd635aea678 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 21 Mar 2000 23:09:29 +0000 Subject: Update. * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define versions. * libio/iofdopen.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgetpos64.c: Likewise. * libio/iofopen.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/iofsetpos64.c: Likewise. * libio/iopopen.c: Likewise. * libio/oldiofopen.c: Likewise. * libio/pclose.c: Likewise. * sysdeps/gnu/siglist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise. --- libio/iofgetpos64.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libio/iofgetpos64.c') diff --git a/libio/iofgetpos64.c b/libio/iofgetpos64.c index cc39a3a9e1..89e31fc72d 100644 --- a/libio/iofgetpos64.c +++ b/libio/iofgetpos64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 95, 96, 97, 98, 99 Free Software Foundation, Inc. +/* Copyright (C) 1993, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -25,6 +25,8 @@ #include "libioP.h" #include +#include + int _IO_new_fgetpos64 (fp, posp) @@ -34,7 +36,7 @@ _IO_new_fgetpos64 (fp, posp) #ifdef _G_LSEEK64 _IO_off64_t pos; CHECK_FILE (fp, EOF); - _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); + _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, fp); _IO_flockfile (fp); pos = _IO_seekoff (fp, 0, _IO_seek_cur, 0); if (_IO_in_backup (fp)) @@ -63,8 +65,6 @@ _IO_new_fgetpos64 (fp, posp) #endif } -#ifdef weak_alias -default_symbol_version (_IO_new_fgetpos64, _IO_fgetpos64, GLIBC_2.2); strong_alias (_IO_new_fgetpos64, __new_fgetpos64) -default_symbol_version (__new_fgetpos64, fgetpos64, GLIBC_2.2); -#endif +versioned_symbol (libc, _IO_new_fgetpos64, _IO_fgetpos64, GLIBC_2_2); +versioned_symbol (libc, __new_fgetpos64, fgetpos64, GLIBC_2_2); -- cgit v1.2.3