From b03be4fa4d863e6beb362cfef6d834d14c96b7e1 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 20 Sep 2015 14:12:19 +0300 Subject: Add syntax specification to .proto files (issue #167) Eliminates a warning on protoc 3.0. --- examples/network_server/fileproto.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/network_server') diff --git a/examples/network_server/fileproto.proto b/examples/network_server/fileproto.proto index 3e70c49..5640b8d 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 = "/"]; } -- cgit