diff options
| author | Xin LI <delphij@FreeBSD.org> | 2012-05-14 08:01:48 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2012-05-14 08:01:48 +0000 |
| commit | 60894fde29002aac35c5aff244b0f45c4d590413 (patch) | |
| tree | 2d0f73c65ae258539a2146cd435727a18ae62097 /cpack.c | |
| parent | 6d59e2f382406def185ce5261b8723a174cd28a3 (diff) | |
Diffstat (limited to 'cpack.c')
| -rw-r--r-- | cpack.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ #include "cpack.h" #include "extract.h" -static u_int8_t * +u_int8_t * cpack_next_boundary(u_int8_t *buf, u_int8_t *p, size_t alignment) { size_t misalignment = (size_t)(p - buf) % alignment; @@ -53,7 +53,7 @@ cpack_next_boundary(u_int8_t *buf, u_int8_t *p, size_t alignment) * wordsize bytes remain in the buffer after the boundary. Otherwise, * return a pointer to the boundary. */ -static u_int8_t * +u_int8_t * cpack_align_and_reserve(struct cpack_state *cs, size_t wordsize) { u_int8_t *next; |
