X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Furl%2Furl.c;h=700f87cd936ed0d184cb75312f6cacac0c1739bf;hp=8a3d0db50ee6c38e5f39d8e2eb0ffe8e31928288;hb=f385e8cacbc574e213b0805a8d383373f29a8058;hpb=1cb9c56d6453bca28cacb5ab3fc134bb151fd6f0 diff --git a/lib/url/url.c b/lib/url/url.c index 8a3d0db..700f87c 100644 --- a/lib/url/url.c +++ b/lib/url/url.c @@ -22,7 +22,6 @@ #define _GNU_SOURCE #include -#include #include #include "log/log.h" @@ -228,7 +227,7 @@ fail: return NULL; } -static bool is_url(const char *str) +bool is_url(const char *str) { return strstr(str, "://") != NULL; }