summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Endsley <mendsley@gmail.com>2012-05-13 17:34:16 -0700
committerMatthew Endsley <mendsley@gmail.com>2012-05-14 01:04:25 -0700
commite4333f2bdb6ea5ca23a8e8b6c569348f9ef0e7ed (patch)
treec7f7700e3b58c10d05718693228c3cecc5acec81
parentd98f7bd7b63a82f2cb25ec2b479084c63467cb37 (diff)
downloadbsdiff-e4333f2bdb6ea5ca23a8e8b6c569348f9ef0e7ed.tar.gz
adding BSPATCH_HEADER_ONLY to exclude non-declarations
-rw-r--r--bspatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bspatch.c b/bspatch.c
index e4d16cb..ddc24b4 100644
--- a/bspatch.c
+++ b/bspatch.c
@@ -47,6 +47,8 @@ struct bspatch_request
struct bspatch_stream extra;
};
+#if !defined(BSPATCH_HEADER_ONLY)
+
static int64_t offtin(uint8_t *buf)
{
int64_t y;
@@ -293,3 +295,4 @@ int main(int argc,char * argv[])
}
#endif
+#endif