about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/chown.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-01 23:15:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-01 23:15:18 +0000
commitdeb7f0b41f9c892ba7413abcc4cd5f19787a1122 (patch)
treeb5e72ddc8e44d6d7d6d49af0254cb6b9cf919a17 /sysdeps/unix/sysv/linux/i386/chown.c
parent6b3f2b3d3ab0435afd7422c6ab38479bb5b1ba70 (diff)
downloadglibc-deb7f0b41f9c892ba7413abcc4cd5f19787a1122.tar.gz
glibc-deb7f0b41f9c892ba7413abcc4cd5f19787a1122.tar.xz
glibc-deb7f0b41f9c892ba7413abcc4cd5f19787a1122.zip
Regenerated: autoconf configure.in
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/chown.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/chown.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c
index ce44338d5e..f7082ceac7 100644
--- a/sysdeps/unix/sysv/linux/i386/chown.c
+++ b/sysdeps/unix/sysv/linux/i386/chown.c
@@ -145,23 +145,15 @@ __chown_is_lchown (const char *file, uid_t owner, gid_t group)
 strong_alias (__chown_is_lchown, _chown_is_lchown)
 compat_symbol (libc, __chown_is_lchown, __chown, GLIBC_2_0);
 compat_symbol (libc, _chown_is_lchown, chown, GLIBC_2_0);
+#endif
 
-# ifdef __NR_lchown
+#ifdef __NR_lchown
 strong_alias (__real_chown, _real_chown)
 versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1);
 versioned_symbol (libc, _real_chown, chown, GLIBC_2_1);
-# else
+#else
 strong_alias (__chown_is_lchown, __chown_is_lchown21)
 strong_alias (__chown_is_lchown, _chown_is_lchown21)
 versioned_symbol (libc, __chown_is_lchown21, __chown, GLIBC_2_1);
 versioned_symbol (libc, _chown_is_lchown21, chown, GLIBC_2_1);
-# endif
-#else
-# ifdef __NR_lchown
-strong_alias (__real_chown, __chown)
-weak_alias (__real_chown, chown)
-# else
-strong_alias (__chown_is_lchown, __chown)
-weak_alias (__chown_is_lchown, chown)
-# endif
 #endif