diff options
author | Sami Kerola | 2013-08-29 16:50:17 +0200 |
---|---|---|
committer | Sami Kerola | 2013-08-29 19:14:08 +0200 |
commit | 199e939d88333162f440ea50b83415dac625c89c (patch) | |
tree | 33b50feb3b2a065311e3c1477971e728e1fffccc /libmount/src/mountP.h | |
parent | lib/time-util: copy time parsing functions from systemd (diff) | |
download | kernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.tar.gz kernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.tar.xz kernel-qcow2-util-linux-199e939d88333162f440ea50b83415dac625c89c.zip |
lib/strutils: move *swith() functions to private library
Avoid code dublication in libmount and time-util.
Proposed-by: Karel Zak <kzak@redhat.com>
Reference: http://markmail.org/message/h7zexvqsieqngtmx
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r-- | libmount/src/mountP.h | 5 |
1 files changed, 0 insertions, 5 deletions
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); |