Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

zsync.h: add include guards

  • Loading branch information...
commit 02ca8a1d1a5e667ed1ff80645b0aa15191ef230b 1 parent 72e5b58
merlino authored committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 c/libzsync/zsync.h
4 c/libzsync/zsync.h
@@ -13,6 +13,9 @@
* COPYING file for details.
+#ifndef ZSYNC_ZSYNC_H
+#define ZSYNC_ZSYNC_H
struct zsync_state;
/* zsync_begin - load a zsync file and return data structure to use for the rest of the process.
@@ -95,3 +98,4 @@ void zsync_end_receive(struct zsync_receiver* zr);
* Returns 0 for success; if not, you should not submit more data. */
int zsync_receive_data(struct zsync_receiver* zr, const unsigned char* buf, off_t offset, size_t len);
Please sign in to comment.
Something went wrong with that request. Please try again.