Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Batch files need to be written with the new subprotocol value
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
6b25e6c
..
5bb155e
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-83,6
+83,11
@@
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 30
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 30
+/* This is used when working on a new protocol version in CVS, and should
+ * be a new non-zero value for each CVS change that affects the protocol.
+ * It must ALWAYS be 0 when the protocol goes final! */
+#define SUBPROTOCOL_VERSION 1
+
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on
* people writing them to make sure that they don't send us anything
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on
* people writing them to make sure that they don't send us anything
@@
-779,6
+784,7
@@
typedef struct {
#ifndef __GNUC__
#define __attribute__(x)
#ifndef __GNUC__
#define __attribute__(x)
+#else
# if __GNUC__ <= 2
# define NORETURN
# endif
# if __GNUC__ <= 2
# define NORETURN
# endif