summaryrefslogtreecommitdiff
path: root/io/ftw.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 17:41:25 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 18:52:00 +0200
commit116ac301b1825f3e50e32d4b0974b1ad34345a14 (patch)
tree0a5a53f1486f11508938ab3fa6116d3d4c20bf8a /io/ftw.c
parent9da93bd7c64ed38e95fe307ed3d33a73e389d6b6 (diff)
io: Remove internal_function attribute
Diffstat (limited to 'io/ftw.c')
-rw-r--r--io/ftw.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/io/ftw.c b/io/ftw.c
index 106b6bf4ec..63448e188a 100644
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -109,8 +109,6 @@ extern char *xgetcwd (void);
# define __tfind tfind
# undef __tsearch
# define __tsearch tsearch
-# undef internal_function
-# define internal_function /* empty */
# undef dirent64
# define dirent64 dirent
# undef MAX
@@ -222,7 +220,7 @@ static const int ftw_arr[] =
/* Forward declarations of local functions. */
static int ftw_dir (struct ftw_data *data, struct STAT *st,
- struct dir_data *old_dir) internal_function;
+ struct dir_data *old_dir);
static int
@@ -377,7 +375,6 @@ open_dir_stream (int *dfdp, struct ftw_data *data, struct dir_data *dirp)
static int
-internal_function
process_entry (struct ftw_data *data, struct dir_data *dir, const char *name,
size_t namlen, int d_type)
{
@@ -477,7 +474,6 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name,
static int
__attribute ((noinline))
-internal_function
ftw_dir (struct ftw_data *data, struct STAT *st, struct dir_data *old_dir)
{
struct dir_data dir;
@@ -628,7 +624,6 @@ fail:
static int
__attribute ((noinline))
-internal_function
ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
int flags)
{