]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix issue #851: reserved identifier violation
authorPhilip Homburg <philip@nlnetlabs.nl>
Tue, 21 Mar 2023 12:51:51 +0000 (13:51 +0100)
committerPhilip Homburg <philip@nlnetlabs.nl>
Tue, 21 Mar 2023 12:51:51 +0000 (13:51 +0100)
libunbound/unbound-event.h
libunbound/unbound.h

index 5fa74df78186fbeaafb87f77125a1c5050fe7685..5ca81908a904ecb2f52502dd0f6c8453436fd7ef 100644 (file)
@@ -52,8 +52,8 @@
  * unbound was compiled with, otherwise it wouldn't work, the event and
  * event_base structures would be different.
  */
-#ifndef _UB_UNBOUND_EVENT_H
-#define _UB_UNBOUND_EVENT_H
+#ifndef UB_UNBOUND_EVENT_H
+#define UB_UNBOUND_EVENT_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -262,4 +262,4 @@ int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
 }
 #endif
 
-#endif /* _UB_UNBOUND_H */
+#endif /* UB_UNBOUND_EVENT_H */
index 221ef7f9d4b76f9252e1adf016779ab898c36017..72428fd38a25acbb7f4f712da9d1c27bc7dd4ce6 100644 (file)
@@ -94,8 +94,8 @@
  * The second calls another worker thread (or process) to perform the work.
  * And no buffers need to be set up, but a context-switch happens.
  */
-#ifndef _UB_UNBOUND_H
-#define _UB_UNBOUND_H
+#ifndef UB_UNBOUND_H
+#define UB_UNBOUND_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -865,4 +865,4 @@ struct ub_stats_info {
 }
 #endif
 
-#endif /* _UB_UNBOUND_H */
+#endif /* UB_UNBOUND_H */