From: Miek Gieben Date: Mon, 27 Jun 2005 08:43:00 +0000 (+0000) Subject: correctly protect headers files with _LDNS_ prefix X-Git-Tag: release-0.70~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8f9453d99ae86ea2bad18d25a43cfda9cc16a8;p=thirdparty%2Fldns.git correctly protect headers files with _LDNS_ prefix --- diff --git a/ldns/buffer.h b/ldns/buffer.h index 6ba8fb61..65f0b35d 100644 --- a/ldns/buffer.h +++ b/ldns/buffer.h @@ -10,8 +10,8 @@ * the java.nio.Buffer interface. */ -#ifndef _BUFFER_H_ -#define _BUFFER_H_ +#ifndef _LDNS_BUFFER_H_ +#define _LDNS_BUFFER_H_ #include #include @@ -502,4 +502,4 @@ void ldns_buffer_free(ldns_buffer *buffer); */ void *ldns_buffer_export(ldns_buffer *buffer); -#endif /* _BUFFER_H_ */ +#endif /* _LDNS_BUFFER_H_ */ diff --git a/ldns/dns.h b/ldns/dns.h index 0ad9b0ae..0711d1e4 100644 --- a/ldns/dns.h +++ b/ldns/dns.h @@ -8,8 +8,8 @@ * A bunch of defines that are used in the DNS */ -#ifndef _DNS_H_ -#define _DNS_H_ +#ifndef _LDNS_DNS_H_ +#define _LDNS_DNS_H_ #include #include @@ -54,4 +54,4 @@ extern ldns_lookup_table ldns_rr_classes[]; extern ldns_lookup_table ldns_rcodes[]; extern ldns_lookup_table ldns_opcodes[]; -#endif /* _DNS_H_ */ +#endif /* _LDNS_DNS_H_ */ diff --git a/ldns/dnssec.h b/ldns/dnssec.h index ee5b5886..21c95eea 100644 --- a/ldns/dnssec.h +++ b/ldns/dnssec.h @@ -8,8 +8,8 @@ * A bunch of defines that are used in the DNS */ -#ifndef _DNSSEC_H_ -#define _DNSSEC_H_ +#ifndef _LDNS_DNSSEC_H_ +#define _LDNS_DNSSEC_H_ #include #include @@ -166,4 +166,4 @@ ldns_rr * ldns_create_nsec(ldns_rr_list *before, ldns_rr_list *after); ldns_rr_list *ldns_pkt_verify(ldns_pkt *p, ldns_rr_type t, ldns_rdf *o, ldns_rr_list *k, ldns_rr_list *s); -#endif /* _DNSSEC_H_ */ +#endif /* _LDNS_DNSSEC_H_ */ diff --git a/ldns/error.h b/ldns/error.h index bdebe674..1cfbe857 100644 --- a/ldns/error.h +++ b/ldns/error.h @@ -10,8 +10,8 @@ * See the file LICENSE for the license */ -#ifndef _ERROR_H -#define _ERROR_H +#ifndef _LDNS_ERROR_H +#define _LDNS_ERROR_H #include @@ -57,4 +57,4 @@ extern ldns_lookup_table ldns_error_str[]; */ const char *ldns_get_errorstr_by_id(ldns_status err); -#endif /* _ERROR_H */ +#endif /* _LDNS_ERROR_H */ diff --git a/ldns/parse.h b/ldns/parse.h index 017956d3..66aba83e 100644 --- a/ldns/parse.h +++ b/ldns/parse.h @@ -7,8 +7,8 @@ * See the file LICENSE for the license */ -#ifndef _PARSE_H_ -#define _PARSE_H_ +#ifndef _LDNS_PARSE_H_ +#define _LDNS_PARSE_H_ #include #include @@ -92,4 +92,4 @@ void ldns_bskipcs(ldns_buffer *buffer, const char *s); */ void ldns_fskipcs(FILE *fp, const char *s); -#endif /* _PARSE_H */ +#endif /* _LDNS_PARSE_H */ diff --git a/ldns/rr_functions.h b/ldns/rr_functions.h index 944610bc..368c5c51 100644 --- a/ldns/rr_functions.h +++ b/ldns/rr_functions.h @@ -10,8 +10,8 @@ * * See the file LICENSE for the license */ -#ifndef _RR_FUNCTIONS_H -#define _RR_FUNCTIONS_H +#ifndef _LDNS_RR_FUNCTIONS_H +#define _LDNS_RR_FUNCTIONS_H /* set rdf's at a specific offset @@ -231,4 +231,4 @@ ldns_rdf* ldns_rr_dnskey_key(ldns_rr *r); */ bool ldns_rr_dnskey_set_key(ldns_rr *r, ldns_rdf *f); -#endif /* _RR_FUNCTIONS_H */ +#endif /* _LDNS_RR_FUNCTIONS_H */