about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 15:33:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:07 +0200
commit18c54facf1ba6125abab0eb6080630c1847e8819 (patch)
treea142e302f16016fe9db85af5b2ba2e3ef68f8e30 /sysdeps/unix
parent7e01f080e8231ab38b0896a1cc66c660af4b98e9 (diff)
downloadglibc-18c54facf1ba6125abab0eb6080630c1847e8819.tar.gz
glibc-18c54facf1ba6125abab0eb6080630c1847e8819.tar.xz
glibc-18c54facf1ba6125abab0eb6080630c1847e8819.zip
Linux getcwd: Remove internal_function attribute
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/getcwd.c4
1 files changed, 2 insertions, 2 deletions
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 <sysdeps/posix/getcwd.c>