chiark / gitweb /
path-util: fix path_is_mount_point() for symlinks
[elogind.git] / src / shared / strv.c
index 2268bf61db33ff42427b8731b60e82d2f3282ee0..ee45ad1d0f3bb434044462696f675432e28c3ed4 100644 (file)
@@ -19,7 +19,6 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <assert.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
@@ -693,7 +692,7 @@ char **strv_reverse(char **l) {
         return l;
 }
 
-bool strv_fnmatch(const char *s, char* const* patterns, int flags) {
+bool strv_fnmatch(char* const* patterns, const char *s, int flags) {
         char* const* p;
 
         STRV_FOREACH(p, patterns)