]> git.ipfire.org Git - thirdparty/glibc.git/blame - hurd/compat-20.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / hurd / compat-20.c
CommitLineData
aab217f3 1/* Old-versioned functions for binary compatibility with glibc-2.0.
f7a9f785 2 Copyright (C) 1998-2016 Free Software Foundation, Inc.
aab217f3
RM
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
aab217f3
RM
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 13 Lesser General Public License for more details.
aab217f3 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6
PE
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
aab217f3
RM
18
19#include <hurd.h>
20
21/* This file provides definitions for binary compatibility with
22 the GLIBC_2.0 version set for the libc.so.0.2 soname.
23
24 These definitions can be removed when the soname changes. */
25
16710d58
RM
26#include <shlib-compat.h>
27#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
28
aab217f3 29void
d3a4a571 30attribute_compat_text_section
aab217f3
RM
31_hurd_proc_init_compat_20 (char **argv)
32{
33 _hurd_proc_init (argv, NULL, 0);
34}
16710d58
RM
35compat_symbol (libc, _hurd_proc_init_compat_20, _hurd_proc_init, GLIBC_2_0);
36
37#endif