]> mj.ucw.cz Git - libucw.git/commitdiff
Added missing ifdef guards to ucw/*.h.
authorPavel Charvat <pchar@ucw.cz>
Wed, 29 Oct 2008 09:21:49 +0000 (10:21 +0100)
committerPavel Charvat <pchar@ucw.cz>
Wed, 29 Oct 2008 09:21:49 +0000 (10:21 +0100)
ucw/binheap-node.h
ucw/bitsig.h
ucw/profile.h

index 44be9f4e656ab297cf4f8de8b3a9838cdff5f37b..afbda63bc0098117965cc7aa2ca6c286af4dc01e 100644 (file)
@@ -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
index 60a5b1478474ef7f0ca32c340d8f5d2e540c9a04..d9e78e27fe5461fff8d9406085c1d58b1eeabdd3 100644 (file)
@@ -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
index 673810602e4f3aed4c2a209dd713d0e65811d8a1..245ad768d0a8039c14a6f1adf0bc1c732f1fec2c 100644 (file)
@@ -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