diff options
Diffstat (limited to 'libbb/get_last_path_component.c')
-rw-r--r-- | libbb/get_last_path_component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/get_last_path_component.c b/libbb/get_last_path_component.c index 9d017ab7f..46a87d7fc 100644 --- a/libbb/get_last_path_component.c +++ b/libbb/get_last_path_component.c | |||
@@ -24,7 +24,7 @@ const char* FAST_FUNC bb_basename(const char *name) | |||
24 | } | 24 | } |
25 | 25 | ||
26 | #if ENABLE_PLATFORM_MINGW32 | 26 | #if ENABLE_PLATFORM_MINGW32 |
27 | char *get_last_slash(const char *path) | 27 | char * FAST_FUNC get_last_slash(const char *path) |
28 | { | 28 | { |
29 | const char *start = path + root_len(path); | 29 | const char *start = path + root_len(path); |
30 | char *slash = strrchr(start, '/'); | 30 | char *slash = strrchr(start, '/'); |