summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-07-22 16:11:39 +0000
committerdes <des@FreeBSD.org>2002-07-22 16:11:39 +0000
commit4732944265cfd1c9f3caac4d4c54b6895ad5764d (patch)
treeef785104ae7f22d805dea3ed9fb883954d663e1d /lib/libfetch
parentad7629f7ee238ceb85eefa784ce20f1bac5c7b03 (diff)
downloadFreeBSD-src-4732944265cfd1c9f3caac4d4c54b6895ad5764d.zip
FreeBSD-src-4732944265cfd1c9f3caac4d4c54b6895ad5764d.tar.gz
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
PR: misc/40399 MFC after: 3 days
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/fetch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h
index 36a1e9a..1c627d3 100644
--- a/lib/libfetch/fetch.h
+++ b/lib/libfetch/fetch.h
@@ -86,6 +86,8 @@ struct url_ent {
#define FETCH_URL 18
#define FETCH_VERBOSE 19
+__BEGIN_DECLS
+
/* FILE-specific functions */
FILE *fetchXGetFile(struct url *, struct url_stat *, const char *);
FILE *fetchGetFile(struct url *, const char *);
@@ -125,6 +127,8 @@ struct url *fetchMakeURL(const char *, const char *, int,
struct url *fetchParseURL(const char *);
void fetchFreeURL(struct url *);
+__END_DECLS
+
/* Authentication */
typedef int (*auth_t)(struct url *);
extern auth_t fetchAuthMethod;
OpenPOWER on IntegriCloud