[CRIU] [PATCH v2 03/13] protobuf: rename type for show functions

Kinsbursky Stanislav skinsbursky at openvz.org
Mon Aug 6 12:11:11 EDT 2012


From: Stanislav Kinsbursky <skinsbursky at openvz.org>

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
 protobuf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/protobuf.c b/protobuf.c
index 68514ab..869c95d 100644
--- a/protobuf.c
+++ b/protobuf.c
@@ -27,7 +27,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)
 {
@@ -100,7 +100,7 @@ static void show_enum(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;
 


More information about the CRIU mailing list