mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-24 01:33:52 +03:00
Linux getcwd: Remove internal_function attribute
This commit is contained in:
@@ -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>
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* include/time.h (__tz_compute, __strptime_internal): Remove
|
* include/time.h (__tz_compute, __strptime_internal): Remove
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
named `cwd'. Reading the content of this link immediate gives us the
|
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
|
information. But we have to take care for systems which do not have
|
||||||
the proc filesystem mounted. Use the POSIX implementation in this case. */
|
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 *
|
char *
|
||||||
__getcwd (char *buf, size_t size)
|
__getcwd (char *buf, size_t size)
|
||||||
@@ -130,6 +130,6 @@ __getcwd (char *buf, size_t size)
|
|||||||
weak_alias (__getcwd, getcwd)
|
weak_alias (__getcwd, getcwd)
|
||||||
|
|
||||||
/* Get the code for the generic version. */
|
/* 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
|
#define __getcwd generic_getcwd
|
||||||
#include <sysdeps/posix/getcwd.c>
|
#include <sysdeps/posix/getcwd.c>
|
||||||
|
|||||||
Reference in New Issue
Block a user