]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Defer: fixup missing include guards
authorMaria Matejka <mq@ucw.cz>
Sun, 10 Nov 2024 12:32:16 +0000 (13:32 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 14 Nov 2024 10:41:37 +0000 (11:41 +0100)
lib/defer.h

index 69128ef678c7492dcc7950547b95e4ae3fd03031..895fcce240f3984ac540c7bc7d67b018203f2405 100644 (file)
@@ -12,6 +12,9 @@
  * full-blown event list overhead. Therefore, one just can use this tool
  * instead. */
 
+#ifndef _BIRD_LIB_DEFER_H_
+#define _BIRD_LIB_DEFER_H_
+
 #include "lib/birdlib.h"
 #include "lib/event.h"
 #include "lib/resource.h"
@@ -46,3 +49,5 @@ static inline void defer_call(struct deferred_call *call, size_t actual_size) {
   *local_deferred.last = a;
   local_deferred.last = &a->next;
 }
+
+#endif