diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-20 14:12:19 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-20 14:29:39 +0300 |
commit | b03be4fa4d863e6beb362cfef6d834d14c96b7e1 (patch) | |
tree | 31bdb84f1be4ce5104d4a67d3e5c321f12639b83 /examples/using_union_messages | |
parent | 6e72df4808aa138f1396ad098ce2d06a6feba882 (diff) |
Add syntax specification to .proto files (issue #167)
Eliminates a warning on protoc 3.0.
Diffstat (limited to 'examples/using_union_messages')
-rw-r--r-- | examples/using_union_messages/unionproto.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/using_union_messages/unionproto.proto b/examples/using_union_messages/unionproto.proto index d7c9de2d..209df0d2 100644 --- a/examples/using_union_messages/unionproto.proto +++ b/examples/using_union_messages/unionproto.proto @@ -5,6 +5,8 @@ // but they are commonly implemented by filling out exactly one of // several optional fields. +syntax = "proto2"; + message MsgType1 { required int32 value = 1; |