From b42a8d236434d7ec63c742d275cd7b75adbe760b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Sep 2011 22:35:15 +0200 Subject: utils: parsePath() returns GError on failure Better error messages. --- src/utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index df36d1da0..f8d6657f2 100644 --- a/src/utils.h +++ b/src/utils.h @@ -20,6 +20,7 @@ #ifndef MPD_UTILS_H #define MPD_UTILS_H +#include #include #ifndef assert_static @@ -32,6 +33,6 @@ #endif /* !assert_static */ char * -parsePath(const char *path); +parsePath(const char *path, GError **error_r); #endif -- cgit v1.2.3