summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-08-11 11:41:09 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-11 11:41:09 -0400
commit14d96785125abee5e9a49a1c3037f35a581750bd (patch)
tree321c675710dd076eeb13832637b978d6671dc969 /dirent
parenta724d1b9bfa0f6ee9146b365e43ea6e245d0cf0c (diff)
downloadglibc-14d96785125abee5e9a49a1c3037f35a581750bd.tar.gz
glibc-14d96785125abee5e9a49a1c3037f35a581750bd.tar.xz
glibc-14d96785125abee5e9a49a1c3037f35a581750bd.zip
Clean up PLT use for scandirat
Diffstat (limited to 'dirent')
-rw-r--r--dirent/scandirat.c1
-rw-r--r--dirent/scandirat64.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/dirent/scandirat.c b/dirent/scandirat.c
index e6f5ece76f..3eda9702e8 100644
--- a/dirent/scandirat.c
+++ b/dirent/scandirat.c
@@ -141,3 +141,4 @@ SCANDIRAT (dfd, dir, namelist, select, cmp)
 
   return c.cnt;
 }
+libc_hidden_def (SCANDIRAT)
diff --git a/dirent/scandirat64.c b/dirent/scandirat64.c
index c4afb90d3d..d41bdd1d66 100644
--- a/dirent/scandirat64.c
+++ b/dirent/scandirat64.c
@@ -18,11 +18,9 @@
 
 #include <dirent.h>
 
-#define SCANDIRAT __scandirat64
+#define SCANDIRAT scandirat64
 #define READDIR __readdir64
 #define DIRENT_TYPE struct dirent64
 #define SKIP_SCANDIR_CANCEL 1
 
 #include "scandirat.c"
-
-weak_alias (__scandirat64, scandirat64)