From 248a97c160e4f6fd428977d133cd0ff04972f36b Mon Sep 17 00:00:00 2001 From: Stanislav Kinsbursky Date: Tue, 14 Aug 2012 14:45:10 +0400 Subject: [PATCH] protobuf: rename type for show functions Signed-off-by: Stanislav Kinsbursky Signed-off-by: Pavel Emelyanov --- protobuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protobuf.c b/protobuf.c index 3d44ada79..113affa4a 100644 --- a/protobuf.c +++ b/protobuf.c @@ -134,7 +134,7 @@ struct pb_pr_ctrl_s { }; typedef struct pb_pr_ctrl_s pb_pr_ctl_t; -typedef void (*pb_pr_field_t)(void *obj, pb_pr_ctl_t *ctl); +typedef void (*pb_pr_show_t)(void *obj, pb_pr_ctl_t *ctl); static void pb_msg_int32x(void *obj, pb_pr_ctl_t *ctl) { @@ -217,7 +217,7 @@ static void show_bool(void *msg, pb_pr_ctl_t *ctl) static void pb_show_field(const ProtobufCFieldDescriptor *fd, void *where, unsigned long nr_fields, pb_pr_ctl_t *ctl) { - pb_pr_field_t show; + pb_pr_show_t show; unsigned long counter; size_t fsize;