From 199e939d88333162f440ea50b83415dac625c89c Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Thu, 29 Aug 2013 15:50:17 +0100 Subject: lib/strutils: move *swith() functions to private library Avoid code dublication in libmount and time-util. Proposed-by: Karel Zak Reference: http://markmail.org/message/h7zexvqsieqngtmx Signed-off-by: Sami Kerola --- libmount/src/mountP.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libmount/src/mountP.h') diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h index 9e6f4bd28..9362c0042 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -137,11 +137,6 @@ extern int mnt_run_test(struct libmnt_test *tests, int argc, char *argv[]); #endif /* utils.c */ -extern int endswith(const char *s, const char *sx) - __attribute__((nonnull)); -extern int startswith(const char *s, const char *sx) - __attribute__((nonnull)); - extern char *stripoff_last_component(char *path); extern int mnt_valid_tagname(const char *tagname); -- cgit v1.2.3-55-g7522