aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-07-22 16:11:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-07-22 16:11:39 +0000
commit190c185e2295421a0657be7e69798bedd29db4aa (patch)
treeef785104ae7f22d805dea3ed9fb883954d663e1d
parent506c29ecf3299420b39bc93abfe9ea11cb57cc79 (diff)
downloadsrc-190c185e2295421a0657be7e69798bedd29db4aa.tar.gz
src-190c185e2295421a0657be7e69798bedd29db4aa.zip
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
PR: misc/40399 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=100510
-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 36a1e9a2272c..1c627d34f8f4 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;