mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
Fix issue #851: reserved identifier violation
This commit is contained in:
@@ -52,8 +52,8 @@
|
|||||||
* unbound was compiled with, otherwise it wouldn't work, the event and
|
* unbound was compiled with, otherwise it wouldn't work, the event and
|
||||||
* event_base structures would be different.
|
* event_base structures would be different.
|
||||||
*/
|
*/
|
||||||
#ifndef _UB_UNBOUND_EVENT_H
|
#ifndef UB_UNBOUND_EVENT_H
|
||||||
#define _UB_UNBOUND_EVENT_H
|
#define UB_UNBOUND_EVENT_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -262,4 +262,4 @@ int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _UB_UNBOUND_H */
|
#endif /* UB_UNBOUND_EVENT_H */
|
||||||
|
|||||||
@@ -94,8 +94,8 @@
|
|||||||
* The second calls another worker thread (or process) to perform the work.
|
* 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.
|
* And no buffers need to be set up, but a context-switch happens.
|
||||||
*/
|
*/
|
||||||
#ifndef _UB_UNBOUND_H
|
#ifndef UB_UNBOUND_H
|
||||||
#define _UB_UNBOUND_H
|
#define UB_UNBOUND_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -865,4 +865,4 @@ struct ub_stats_info {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _UB_UNBOUND_H */
|
#endif /* UB_UNBOUND_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user