read_key: remove handling for ctrl-up/down, we don't use that. -12 bytes
[oweals/busybox.git] / libbb / get_last_path_component.c
index 0f602157d970ea177d32f8843b995027da4c1532..7c99116e945c5c0f5bba4c3d43dac0ad2881d024 100644 (file)
@@ -14,7 +14,7 @@
  * "abc/def"  -> "def"
  * "abc/def/" -> ""
  */
-char *bb_get_last_path_component_nostrip(const char *path)
+char* FAST_FUNC bb_get_last_path_component_nostrip(const char *path)
 {
        char *slash = strrchr(path, '/');
 
@@ -30,7 +30,7 @@ char *bb_get_last_path_component_nostrip(const char *path)
  * "abc/def"  -> "def"
  * "abc/def/" -> "def" !!
  */
-char *bb_get_last_path_component_strip(char *path)
+char* FAST_FUNC bb_get_last_path_component_strip(char *path)
 {
        char *slash = last_char_is(path, '/');