From 37d1e657e5e79bc240ea036cfb8da377b1640490 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 16 Jul 2023 13:48:42 +0200 Subject: Makefile cosmetics and example protobuffer recreated with a newer protoc-c executable. Signed-off-by: Toni Uhlig --- examples/example.pb-c.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/example.pb-c.h') diff --git a/examples/example.pb-c.h b/examples/example.pb-c.h index 9e4f1db..fcc9aeb 100644 --- a/examples/example.pb-c.h +++ b/examples/example.pb-c.h @@ -10,14 +10,14 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1000000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION +#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif -typedef struct _SomethingWithUINTs SomethingWithUINTs; -typedef struct _SomethingMore SomethingMore; -typedef struct _EvenMore EvenMore; +typedef struct SomethingWithUINTs SomethingWithUINTs; +typedef struct SomethingMore SomethingMore; +typedef struct EvenMore EvenMore; /* --- enums --- */ @@ -38,7 +38,7 @@ typedef enum _EvenMore__SomeEnum { /* --- messages --- */ -struct _SomethingWithUINTs +struct SomethingWithUINTs { ProtobufCMessage base; protobuf_c_boolean has_id; @@ -53,7 +53,7 @@ struct _SomethingWithUINTs , 0, 0, 0, 0, 0, 0 } -struct _SomethingMore +struct SomethingMore { ProtobufCMessage base; protobuf_c_boolean has_error_code; @@ -65,7 +65,7 @@ struct _SomethingMore , 0, SOMETHING_MORE__ERRORS__SUCCESS, NULL } -struct _EvenMore +struct EvenMore { ProtobufCMessage base; EvenMore__SomeEnum enum_value; -- cgit v1.2.3