diff options
Diffstat (limited to 'src/util/StringUtil.hxx')
-rw-r--r-- | src/util/StringUtil.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/StringUtil.hxx b/src/util/StringUtil.hxx index 1c67910a9..933d82c16 100644 --- a/src/util/StringUtil.hxx +++ b/src/util/StringUtil.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -40,6 +40,10 @@ strchug_fast(char *p) return const_cast<char *>(strchug_fast((const char *)p)); } +gcc_pure +bool +StringStartsWith(const char *haystack, const char *needle); + /** * Checks whether a string array contains the specified string. * |