mirror of
https://github.com/mirror/wget.git
synced 2025-01-01 07:50:11 +08:00
* src/hsts.h: Fix header guard
This commit is contained in:
parent
77286a2e03
commit
ace96e4412
10
src/hsts.h
10
src/hsts.h
@ -26,13 +26,13 @@ grants you additional permission to convey the resulting work.
|
|||||||
Corresponding Source for a non-source form of such a combination
|
Corresponding Source for a non-source form of such a combination
|
||||||
shall include the source code for the parts of OpenSSL used as well
|
shall include the source code for the parts of OpenSSL used as well
|
||||||
as that of the covered work. */
|
as that of the covered work. */
|
||||||
#include "wget.h"
|
|
||||||
|
#ifndef WGET_HSTS_H
|
||||||
|
#define WGET_HSTS_H
|
||||||
|
|
||||||
#ifdef HAVE_HSTS
|
#ifdef HAVE_HSTS
|
||||||
|
|
||||||
#ifndef HSTS_H
|
#include "wget.h"
|
||||||
#define HSTS_H
|
|
||||||
|
|
||||||
#include "url.h"
|
#include "url.h"
|
||||||
|
|
||||||
typedef struct hsts_store *hsts_store_t;
|
typedef struct hsts_store *hsts_store_t;
|
||||||
@ -48,5 +48,5 @@ bool hsts_store_entry (hsts_store_t,
|
|||||||
time_t, bool);
|
time_t, bool);
|
||||||
bool hsts_match (hsts_store_t, struct url *);
|
bool hsts_match (hsts_store_t, struct url *);
|
||||||
|
|
||||||
#endif /* HSTS_H */
|
|
||||||
#endif /* HAVE_HSTS */
|
#endif /* HAVE_HSTS */
|
||||||
|
#endif /* WGET_HSTS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user