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/network_server | |
parent | 6e72df4808aa138f1396ad098ce2d06a6feba882 (diff) |
Add syntax specification to .proto files (issue #167)
Eliminates a warning on protoc 3.0.
Diffstat (limited to 'examples/network_server')
-rw-r--r-- | examples/network_server/fileproto.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/network_server/fileproto.proto b/examples/network_server/fileproto.proto index 3e70c492..5640b8d5 100644 --- a/examples/network_server/fileproto.proto +++ b/examples/network_server/fileproto.proto @@ -2,6 +2,8 @@ // // See also the nanopb-specific options in fileproto.options. +syntax = "proto2"; + message ListFilesRequest { optional string path = 1 [default = "/"]; } |