]> git.ipfire.org Git - thirdparty/git.git/blobdiff - trailer.h
trailer: separate public from internal portion of trailer_iterator
[thirdparty/git.git] / trailer.h
index 795d2fccfd9579500b798ac667feef2ee549f4b4..ab2cd017567b3f782fa9b342ad03e7e93bc17a37 100644 (file)
--- a/trailer.h
+++ b/trailer.h
@@ -119,8 +119,10 @@ struct trailer_iterator {
        struct strbuf val;
 
        /* private */
-       struct trailer_info info;
-       size_t cur;
+       struct {
+               struct trailer_info info;
+               size_t cur;
+       } internal;
 };
 
 /*