diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-10-29 15:32:51 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-10-29 15:32:51 +0200 |
commit | cd3af3272d170f4990ef745316faa7600571ef4e (patch) | |
tree | fe947bff289d441fcb1459fd98b3698f80399d04 /pb_encode.c | |
parent | ed564186e14c79c767096f4b306dc3c6c5bd2e7d (diff) |
Rename some internal functions to have unique names
Diffstat (limited to 'pb_encode.c')
-rw-r--r-- | pb_encode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pb_encode.c b/pb_encode.c index 563c1bb7..e97d04fb 100644 --- a/pb_encode.c +++ b/pb_encode.c @@ -245,7 +245,7 @@ static bool checkreturn encode_field(pb_ostream_t *stream, /* Default handler for extension fields. Expects to have a pb_field_t * pointer in the extension->type->arg field. */ -static bool checkreturn default_extension_handler(pb_ostream_t *stream, +static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *extension) { const pb_field_t *field = (const pb_field_t*)extension->type->arg; @@ -266,7 +266,7 @@ static bool checkreturn encode_extension_field(pb_ostream_t *stream, if (extension->type->encode) status = extension->type->encode(stream, extension); else - status = default_extension_handler(stream, extension); + status = default_extension_encoder(stream, extension); if (!status) return false; |