From aa9cec6c222f0d1e77e5cb358730bf82e64d453a Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Wed, 29 Oct 2008 10:21:49 +0100 Subject: [PATCH] Added missing ifdef guards to ucw/*.h. --- ucw/binheap-node.h | 5 +++++ ucw/bitsig.h | 5 +++++ ucw/profile.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/ucw/binheap-node.h b/ucw/binheap-node.h index 44be9f4e..afbda63b 100644 --- a/ucw/binheap-node.h +++ b/ucw/binheap-node.h @@ -7,6 +7,9 @@ * of the GNU Lesser General Public License. */ +#ifndef _UCW_BINHEAP_NODE_H +#define _UCW_BINHEAP_NODE_H + struct bh_node { struct bh_node *first_son; struct bh_node *last_son; @@ -17,3 +20,5 @@ struct bh_node { struct bh_heap { struct bh_node root; }; + +#endif diff --git a/ucw/bitsig.h b/ucw/bitsig.h index 60a5b147..d9e78e27 100644 --- a/ucw/bitsig.h +++ b/ucw/bitsig.h @@ -7,9 +7,14 @@ * of the GNU Lesser General Public License. */ +#ifndef _UCW_BITSIG_H +#define _UCW_BITSIG_H + struct bitsig; struct bitsig *bitsig_init(uns perrlog, uns maxn); void bitsig_free(struct bitsig *b); int bitsig_member(struct bitsig *b, byte *item); int bitsig_insert(struct bitsig *b, byte *item); + +#endif diff --git a/ucw/profile.h b/ucw/profile.h index 67381060..245ad768 100644 --- a/ucw/profile.h +++ b/ucw/profile.h @@ -20,6 +20,9 @@ * printf("%s\n", PROF_STR(cnt)); */ +#ifndef _UCW_PROFILE_H +#define _UCW_PROFILE_H + /* PROFILE_TOD: gettimeofday() profiler */ struct prof_tod { @@ -138,3 +141,5 @@ static inline void prof_format(char *b, prof_t *c UNUSED) { b[0]='?'; b[1]=0; } #define PROF_STR(C) "?" #endif + +#endif -- 2.39.2