]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
ISO C
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 22 Oct 2007 09:14:29 +0000 (09:14 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 22 Oct 2007 09:14:29 +0000 (09:14 +0000)
git-svn-id: file:///svn/unbound/trunk@712 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/regional.c
validator/val_nsec.h
validator/val_nsec3.h
validator/val_sigcrypt.h
validator/val_utils.h

index da16371c998cab114bc984f5d20b317696d101db..88afbfb3b3ccd2c8208af3be0494c604d916cdce 100644 (file)
@@ -1,6 +1,7 @@
 22 October 2007: Wouter
        - added donotquerylocalhost config option. Can be turned off for
          out test cases.
+       - ISO C compat changes.
 
 19 October 2007: Wouter
        - added configure (and its files) to svn, so that the trunk is easier
index 71d76c147e5cb1d56dae3d8c1989a9aa14cabaeb..b314c2937fb24ed9c2ca52ffe7b5f436223da603 100644 (file)
@@ -124,7 +124,7 @@ regional_alloc(struct regional *r, size_t size)
                r->total_large += ALIGNMENT+size;
                *(char**)s = r->large_list;
                r->large_list = (char*)s;
-               return s+ALIGNMENT;
+               return (char*)s+ALIGNMENT;
        }
        /* create a new chunk */
        if(a > r->available) {
index cd2c3c1397af2305a344dfd81a8dbb7b63845b12..68ab91a836036b48185f1bc8f373a38c7177bee8 100644 (file)
 
 #ifndef VALIDATOR_VAL_NSEC_H
 #define VALIDATOR_VAL_NSEC_H
+#include "util/data/packed_rrset.h"
 struct val_env;
 struct module_env;
 struct ub_packed_rrset_key;
-enum sec_status;
 struct reply_info;
 struct query_info;
 struct key_entry_key;
index b6f914ef7d154f872990efcfe738afe7c1a9be06..bf7069277b19d7e08ed93eb93292c36a70e3a2b3 100644 (file)
 #ifndef VALIDATOR_VAL_NSEC3_H
 #define VALIDATOR_VAL_NSEC3_H
 #include "util/rbtree.h"
+#include "util/data/packed_rrset.h"
 struct val_env;
 struct regional;
 struct module_env;
 struct ub_packed_rrset_key;
-enum sec_status;
 struct reply_info;
 struct query_info;
 struct key_entry_key;
index c838897a8b31fc41fc80465c28d0271560a1bfe5..38a5d9e77c80743ab0637633717066ff60fceed0 100644 (file)
 
 #ifndef VALIDATOR_VAL_SIGCRYPT_H
 #define VALIDATOR_VAL_SIGCRYPT_H
+#include "util/data/packed_rrset.h"
 struct val_env;
 struct module_env;
 struct ub_packed_rrset_key;
-enum sec_status;
 struct rbtree_t;
 struct regional;
 
index fc2dd8f7bd035741a885675d33ba3e3a3847e3be..415e8fbfd9903fe435065725f73d50c871559cbc 100644 (file)
@@ -41,6 +41,7 @@
 
 #ifndef VALIDATOR_VAL_UTILS_H
 #define VALIDATOR_VAL_UTILS_H
+#include "util/data/packed_rrset.h"
 struct query_info;
 struct reply_info;
 struct val_env;
@@ -50,7 +51,6 @@ struct key_entry_key;
 struct regional;
 struct val_anchors;
 struct rrset_cache;
-enum sec_status;
 
 /**
  * Response classifications for the validator. The different types of proofs.