Verified Commit f91fd6ce authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

missing ifndef for included header

parent 44e70e78
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
#ifndef IFS_CHNK_CALC_UTIL_HPP
#define IFS_CHNK_CALC_UTIL_HPP

#include <cassert>

/**
 * Compute the base2 logarithm for 64 bit integers
 */
@@ -86,3 +91,5 @@ inline uint64_t chnk_count_for_offset(const off64_t offset, const size_t count,
    return static_cast<uint64_t>((chnk_end >> log2(chnk_size)) -
                                 (chnk_start >> log2(chnk_size)) + 1);
}

#endif