summaryrefslogtreecommitdiffstats
path: root/pb_decode.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-10-29 15:32:51 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-10-29 15:32:51 +0200
commitcd3af3272d170f4990ef745316faa7600571ef4e (patch)
treefe947bff289d441fcb1459fd98b3698f80399d04 /pb_decode.c
parented564186e14c79c767096f4b306dc3c6c5bd2e7d (diff)
Rename some internal functions to have unique names
Diffstat (limited to 'pb_decode.c')
-rw-r--r--pb_decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pb_decode.c b/pb_decode.c
index e3be4127..9ad77e94 100644
--- a/pb_decode.c
+++ b/pb_decode.c
@@ -478,7 +478,7 @@ static bool checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_t
/* Default handler for extension fields. Expects a pb_field_t structure
* in extension->type->arg. */
-static bool checkreturn default_extension_handler(pb_istream_t *stream,
+static bool checkreturn default_extension_decoder(pb_istream_t *stream,
pb_extension_t *extension, uint32_t tag, pb_wire_type_t wire_type)
{
const pb_field_t *field = (const pb_field_t*)extension->type->arg;
@@ -513,7 +513,7 @@ static bool checkreturn decode_extension(pb_istream_t *stream,
if (extension->type->decode)
status = extension->type->decode(stream, extension, tag, wire_type);
else
- status = default_extension_handler(stream, extension, tag, wire_type);
+ status = default_extension_decoder(stream, extension, tag, wire_type);
if (!status)
return false;