summaryrefslogtreecommitdiffstats
path: root/lib/url/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url/url.c')
-rw-r--r--lib/url/url.c3
1 files changed, 1 insertions, 2 deletions
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 <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;
}
OpenPOWER on IntegriCloud