From 18c54facf1ba6125abab0eb6080630c1847e8819 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 31 Aug 2017 15:33:27 +0200 Subject: Linux getcwd: Remove internal_function attribute --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/getcwd.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f547eeb38..7cbac7a79c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-08-31 Florian Weimer + + * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove + internal_function. + (GETCWD_RETURN_TYPE): Likewise. + 2017-08-31 Florian Weimer * include/time.h (__tz_compute, __strptime_internal): Remove diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c index 3b556fd450..570f061a1a 100644 --- a/sysdeps/unix/sysv/linux/getcwd.c +++ b/sysdeps/unix/sysv/linux/getcwd.c @@ -40,7 +40,7 @@ named `cwd'. Reading the content of this link immediate gives us the information. But we have to take care for systems which do not have the proc filesystem mounted. Use the POSIX implementation in this case. */ -static char *generic_getcwd (char *buf, size_t size) internal_function; +static char *generic_getcwd (char *buf, size_t size); char * __getcwd (char *buf, size_t size) @@ -130,6 +130,6 @@ __getcwd (char *buf, size_t size) weak_alias (__getcwd, getcwd) /* Get the code for the generic version. */ -#define GETCWD_RETURN_TYPE static char * internal_function +#define GETCWD_RETURN_TYPE static char * #define __getcwd generic_getcwd #include -- cgit 1.4.1