summaryrefslogtreecommitdiffstats
path: root/url.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-08-15 19:54:05 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-15 20:52:09 +0200
commitef3ca95475ce467ae883cc8175ed40e6f7d27800 (patch)
treefe44271647b22756c3d53225658287119a3c34cd /url.h
parentFifth batch for 2.19 cycle (diff)
downloadgit-ef3ca95475ce467ae883cc8175ed40e6f7d27800.tar.xz
git-ef3ca95475ce467ae883cc8175ed40e6f7d27800.zip
Add missing includes and forward declarations
I looped over the toplevel header files, creating a temporary two-line C program for each consisting of #include "git-compat-util.h" #include $HEADER This patch is the result of manually fixing errors in compiling those tiny programs. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.h')
-rw-r--r--url.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/url.h b/url.h
index abdaf6fa30..f311c40a46 100644
--- a/url.h
+++ b/url.h
@@ -1,6 +1,8 @@
#ifndef URL_H
#define URL_H
+struct strbuf;
+
extern int is_url(const char *url);
extern int is_urlschemechar(int first_flag, int ch);
extern char *url_decode(const char *url);