diff options
author | Tushar Gohad <tushar.gohad@intel.com> | 2014-07-05 19:26:13 -0700 |
---|---|---|
committer | Tushar Gohad <tushar.gohad@intel.com> | 2014-07-06 09:59:00 -0700 |
commit | 9d01539e2e7f7e1c5afa525a77993b8d73e99185 (patch) | |
tree | 3476404d7d45e2d97dc8ac3267002243e484cdee /include/xor_codes | |
parent | 6c3cb91be564aa049e193ad0edf8e79624a2bd82 (diff) | |
download | liberasurecode-9d01539e2e7f7e1c5afa525a77993b8d73e99185.tar.gz |
xor_codes: Use posix_memalign
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
Diffstat (limited to 'include/xor_codes')
-rw-r--r-- | include/xor_codes/xor_code.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/xor_codes/xor_code.h b/include/xor_codes/xor_code.h index 0ac4f0a..8c251fd 100644 --- a/include/xor_codes/xor_code.h +++ b/include/xor_codes/xor_code.h @@ -71,16 +71,8 @@ int data_bit_lookup(xor_code_t *code_desc, int index); int missing_elements_bm(xor_code_t *code_desc, int *missing_elements, int (*bit_lookup_func)(xor_code_t *code_desc, int index)); -void *aligned_malloc( size_t size, int align ); - -void aligned_free( void *mem ); - failure_pattern_t get_failure_pattern(xor_code_t *code_desc, int *missing_idxs); -void *aligned_malloc( size_t size, int align); - -void aligned_free(void *mem); - void fast_memcpy(char *dst, char *src, int size); void xor_bufs_and_store(char *buf1, char *buf2, int blocksize); |