X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=pb_encode.h;h=e992c8dca18a1a0dad29ad1b6450f95e83ceb501;hb=47bd244f2e7772c2259f2c37ddf9480959c2272a;hp=f82bac8f86a0c5f187d02e00aa282481d2b04e05;hpb=b63e582bdb34b4727a8eb551fc72ee0476047a46;p=apps%2Fagl-service-can-low-level.git diff --git a/pb_encode.h b/pb_encode.h index f82bac8f..e992c8dc 100644 --- a/pb_encode.h +++ b/pb_encode.h @@ -3,8 +3,8 @@ * field descriptions created by nanopb_generator.py. */ -#ifndef _PB_ENCODE_H_ -#define _PB_ENCODE_H_ +#ifndef PB_ENCODE_H_INCLUDED +#define PB_ENCODE_H_INCLUDED #include "pb.h" @@ -24,7 +24,7 @@ extern "C" { * 4) Substreams will modify max_size and bytes_written. Don't use them * to calculate any pointers. */ -struct _pb_ostream_t +struct pb_ostream_s { #ifdef PB_BUFFER_ONLY /* Callback pointer is not used in buffer-only configuration.