]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Linux getcwd: Remove internal_function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 13:33:27 +0000 (15:33 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 31 Aug 2017 13:59:07 +0000 (15:59 +0200)
ChangeLog
sysdeps/unix/sysv/linux/getcwd.c

index 1f547eeb3817a8b51330b6188d5f8376e9ff7379..7cbac7a79cb6209188fe2fa738af49088fbac903 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-31  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
+       internal_function.
+       (GETCWD_RETURN_TYPE): Likewise.
+
 2017-08-31  Florian Weimer  <fweimer@redhat.com>
 
        * include/time.h (__tz_compute, __strptime_internal): Remove
index 3b556fd45023df928ce0be9e87a82bba9af99860..570f061a1a40fa16fdf57c0705ded5e4aa8e7f3b 100644 (file)
@@ -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>