aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/simple.proto
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-07-27 19:17:07 +0000
committerChristopher Ferris <cferris@google.com>2018-07-27 12:33:26 -0700
commit72d4ea3f96eab1930d75891cb5df15ea7fb0e614 (patch)
treec28e65883c2587f3f19a80e40020ad89ba49dabd /examples/simple/simple.proto
parent798b76ea4d3564d2b92fc84da3cbedf0fbdba580 (diff)
downloadnanopb-c-72d4ea3f96eab1930d75891cb5df15ea7fb0e614.tar.gz
Revert "Upgrade nanopb to 0.3.9.1"android-n-iot-release-smart-display-r2
This reverts commit 56ebba603b8b913261a40f3f61561bb728e3eaa5. Reason for revert: Caused build failures. Examples of build failures: FAILED: out/target/product/vsoc_x86/gen/STATIC_LIBRARIES/librilutils_static_intermediates/proto/hardware/ril/librilutils/proto/sap-api.pb.c /bin/bash -c "(PATH=\$PATH:out/host/linux-x86/bin out/host/linux-x86/bin/aprotoc --proto_path=. --nanopb_out=out/target/product/vsoc_x86/gen/STATIC_LIBRARIES/librilutils_static_intermediates/proto --plugin=external/nanopb-c/generator/protoc-gen-nanopb hardware/ril/librilutils/proto/sap-api.proto )" [libprotobuf WARNING external/protobuf/src/google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: hardware/ril/librilutils/proto/sap-api.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) Change-Id: Id862b050b2de4410bc9facf6d9920d3e878b227e
Diffstat (limited to 'examples/simple/simple.proto')
-rw-r--r--examples/simple/simple.proto2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/simple/simple.proto b/examples/simple/simple.proto
index 5c73a3b..26e72f4 100644
--- a/examples/simple/simple.proto
+++ b/examples/simple/simple.proto
@@ -1,8 +1,6 @@
// A very simple protocol definition, consisting of only
// one message.
-syntax = "proto2";
-
message SimpleMessage {
required int32 lucky_number = 1;
}