summaryrefslogtreecommitdiff
path: root/send-stream.h
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2013-06-03 14:31:41 +0200
committerDavid Sterba <dsterba@suse.cz>2014-09-02 17:04:15 +0200
commit68b50d43c0bcaab3fb110b2213aef229d68532d3 (patch)
treeb1255a821b2e32e2dc3ce42736c91898ffc19d61 /send-stream.h
parentda5db5596ca3dcdbc6edf3e79534c36610bf6fbb (diff)
btrfs-progs: library version defines
commit 46de1a6ec3dbb0db203baa6c46cb64ba9b000ea2 changed the parameters of btrfs_read_and_process_send_stream(). This breaks snapper compilation. We can include version defines usable for the C preprocessor. Version 0.1.0: API up to and including 46de1a6ec3dbb0db2 (3.14.x) Version 0.1.1: 909131939f750faffb9fab (changed in 3.16) Signed-off-by: Arvin Schnell <aschnell@suse.de> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'send-stream.h')
-rw-r--r--send-stream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/send-stream.h b/send-stream.h
index 293bf6af..bedff4d0 100644
--- a/send-stream.h
+++ b/send-stream.h
@@ -18,6 +18,11 @@
#ifndef SEND_STREAM_H_
#define SEND_STREAM_H_
+/*
+ * NOTE: this file is public API, any incompatible change has to update
+ * library version
+ */
+
#ifdef __cplusplus
extern "C" {
#endif