diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-03 13:27:14 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-03 13:27:14 +0800 |
commit | b9216156793f18d7e4685ec73fce5294fcd141b6 (patch) | |
tree | 3a5dabd8a3f7ae975840d8c43b54cf1d73db99b4 /csrc/data_struct.c | |
parent | f61a45a631894f924eb34535edbb7206ccceb906 (diff) | |
download | rich4-b9216156793f18d7e4685ec73fce5294fcd141b6.tar.xz |
data_struct.c: add headers
Diffstat (limited to 'csrc/data_struct.c')
-rw-r--r-- | csrc/data_struct.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/csrc/data_struct.c b/csrc/data_struct.c index 53d8cd3..2d68806 100644 --- a/csrc/data_struct.c +++ b/csrc/data_struct.c @@ -1,4 +1,8 @@ -static inline mem_copy_words(void *dst, void *src, size_t n) +#include <stdlib.h> +#include <string.h> +#include "data_struct.h" + +static inline void mem_copy_words(void *dst, void *src, size_t n) { memcpy(dst, src, n*2); } |