2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

protobuf: rename type for show functions

Signed-off-by: Stanislav Kinsbursky <skinsbursky@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Stanislav Kinsbursky 2012-08-14 14:45:10 +04:00 committed by Pavel Emelyanov
parent d84dc289a7
commit 248a97c160

View File

@ -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;