about summary refs log tree commit diff
path: root/libio/pclose.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
commitfd091d3f3464d5e3c625ce89c83b4dd635aea678 (patch)
tree1f5bf7599dc8a4eacca0c21a8cb2afa0cb6b02e3 /libio/pclose.c
parent75836bc83df5b107d90d552506fd8b49c623cb8a (diff)
downloadglibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.gz
glibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.xz
glibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.zip
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.
Diffstat (limited to 'libio/pclose.c')
-rw-r--r--libio/pclose.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libio/pclose.c b/libio/pclose.c
index 944365934d..55f495ab52 100644
--- a/libio/pclose.c
+++ b/libio/pclose.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1996-1998, 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
@@ -26,6 +26,7 @@
 #include "libioP.h"
 #include "stdio.h"
 #include <errno.h>
+#include <shlib-compat.h>
 
 int
 __new_pclose (fp)
@@ -40,10 +41,4 @@ __new_pclose (fp)
   return _IO_new_fclose (fp);
 }
 
-#if defined PIC && DO_VERSIONING
-default_symbol_version (__new_pclose, pclose, GLIBC_2.1);
-#else
-# ifdef weak_alias
-weak_alias (__new_pclose, pclose)
-# endif
-#endif
+versioned_symbol (libc, __new_pclose, pclose, GLIBC_2_1);