diff options
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r-- | libbb/xreadlink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c index 0b961b6f9..2cfc5751c 100644 --- a/libbb/xreadlink.c +++ b/libbb/xreadlink.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * NOTE: This function returns a malloced char* that you will have to free | 10 | * NOTE: This function returns a malloced char* that you will have to free |
11 | * yourself. | 11 | * yourself. |
12 | */ | 12 | */ |
13 | char *xmalloc_readlink(const char *path) | 13 | char* FAST_FUNC xmalloc_readlink(const char *path) |
14 | { | 14 | { |
15 | enum { GROWBY = 80 }; /* how large we will grow strings by */ | 15 | enum { GROWBY = 80 }; /* how large we will grow strings by */ |
16 | 16 | ||
@@ -42,7 +42,7 @@ char *xmalloc_readlink(const char *path) | |||
42 | * those at the tail. | 42 | * those at the tail. |
43 | * A malloced char* is returned, which must be freed by the caller. | 43 | * A malloced char* is returned, which must be freed by the caller. |
44 | */ | 44 | */ |
45 | char *xmalloc_follow_symlinks(const char *path) | 45 | char* FAST_FUNC xmalloc_follow_symlinks(const char *path) |
46 | { | 46 | { |
47 | char *buf; | 47 | char *buf; |
48 | char *lpc; | 48 | char *lpc; |
@@ -84,7 +84,7 @@ char *xmalloc_follow_symlinks(const char *path) | |||
84 | } | 84 | } |
85 | } | 85 | } |
86 | 86 | ||
87 | char *xmalloc_readlink_or_warn(const char *path) | 87 | char* FAST_FUNC xmalloc_readlink_or_warn(const char *path) |
88 | { | 88 | { |
89 | char *buf = xmalloc_readlink(path); | 89 | char *buf = xmalloc_readlink(path); |
90 | if (!buf) { | 90 | if (!buf) { |
@@ -96,7 +96,7 @@ char *xmalloc_readlink_or_warn(const char *path) | |||
96 | 96 | ||
97 | /* UNUSED */ | 97 | /* UNUSED */ |
98 | #if 0 | 98 | #if 0 |
99 | char *xmalloc_realpath(const char *path) | 99 | char* FAST_FUNC xmalloc_realpath(const char *path) |
100 | { | 100 | { |
101 | #if defined(__GLIBC__) && !defined(__UCLIBC__) | 101 | #if defined(__GLIBC__) && !defined(__UCLIBC__) |
102 | /* glibc provides a non-standard extension */ | 102 | /* glibc provides a non-standard extension */ |