diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-02-11 15:14:25 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-03-26 09:34:26 +0100 |
commit | 119890b3a68746f8733676e3f544ef90e1c165c3 (patch) | |
tree | d0ee6c2f17b849da85535b75a88551056c559bc4 /bspatch.c | |
parent | 95f126c7eec42de0dec71b93362b9ea05033c62d (diff) | |
download | bsdiff-119890b3a68746f8733676e3f544ef90e1c165c3.tar.gz |
build: split .c files into .c and .h
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'bspatch.c')
-rw-r--r-- | bspatch.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -25,17 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <stdint.h> - -struct bspatch_stream -{ - void* opaque; - int (*read)(const struct bspatch_stream* stream, void* buffer, int length); -}; - -int bspatch(const uint8_t* old, int64_t oldsize, uint8_t* new, int64_t newsize, struct bspatch_stream* stream); - -#if !defined(BSPATCH_HEADER_ONLY) +#include "bspatch.h" static int64_t offtin(uint8_t *buf) { @@ -195,4 +185,3 @@ int main(int argc,char * argv[]) } #endif -#endif |