]> git.ozlabs.org Git - petitboot/blobdiff - lib/url/url.c
ui/ncurses: Move general nc init code to cui module
[petitboot] / lib / url / url.c
index 8a3d0db50ee6c38e5f39d8e2eb0ffe8e31928288..700f87cd936ed0d184cb75312f6cacac0c1739bf 100644 (file)
@@ -22,7 +22,6 @@
 
 #define _GNU_SOURCE
 #include <assert.h>
-#include <stdbool.h>
 #include <string.h>
 
 #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;
 }