aboutsummaryrefslogtreecommitdiff
path: root/hurd/compat-20.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/compat-20.c')
-rw-r--r--hurd/compat-20.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/hurd/compat-20.c b/hurd/compat-20.c
index 75d51ce9f7..d48e22ac3c 100644
--- a/hurd/compat-20.c
+++ b/hurd/compat-20.c
@@ -1,5 +1,5 @@
/* Old-versioned functions for binary compatibility with glibc-2.0.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,9 +24,14 @@
These definitions can be removed when the soname changes. */
+#include <shlib-compat.h>
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
+
void
_hurd_proc_init_compat_20 (char **argv)
{
_hurd_proc_init (argv, NULL, 0);
}
-symbol_version (_hurd_proc_init_compat_20, _hurd_proc_init, GLIBC_2.0);
+compat_symbol (libc, _hurd_proc_init_compat_20, _hurd_proc_init, GLIBC_2_0);
+
+#endif