summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/acme-client/http.h6
-rw-r--r--usr.sbin/ocspcheck/http.h6
2 files changed, 2 insertions, 10 deletions
diff --git a/usr.sbin/acme-client/http.h b/usr.sbin/acme-client/http.h
index b114e37a09e..c648186d16f 100644
--- a/usr.sbin/acme-client/http.h
+++ b/usr.sbin/acme-client/http.h
@@ -1,4 +1,4 @@
-/* $Id: http.h,v 1.4 2017/01/24 07:59:54 deraadt Exp $ */
+/* $Id: http.h,v 1.5 2017/01/25 13:52:53 inoguchi Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -61,8 +61,6 @@ struct httpget {
size_t bodypartsz; /* size of bodypart */
};
-__BEGIN_DECLS
-
int http_init(void);
/* Convenience functions. */
@@ -91,6 +89,4 @@ int http_head_status(const struct http *,
struct httphead *http_head_get(const char *,
struct httphead *, size_t);
-__END_DECLS
-
#endif /* HTTP_H */
diff --git a/usr.sbin/ocspcheck/http.h b/usr.sbin/ocspcheck/http.h
index 6d19771f567..17541b4363e 100644
--- a/usr.sbin/ocspcheck/http.h
+++ b/usr.sbin/ocspcheck/http.h
@@ -1,4 +1,4 @@
-/* $Id: http.h,v 1.2 2017/01/24 10:57:48 deraadt Exp $ */
+/* $Id: http.h,v 1.3 2017/01/25 13:52:53 inoguchi Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -61,8 +61,6 @@ struct httpget {
size_t bodypartsz; /* size of bodypart */
};
-__BEGIN_DECLS
-
int http_init(void);
/* Convenience functions. */
@@ -91,6 +89,4 @@ int http_head_status(const struct http *,
struct httphead *http_head_get(const char *,
struct httphead *, size_t);
-__END_DECLS
-
#endif /* HTTP_H */