[PATCH] Fix prototypes for ckpt_read_{string,payload}()

Dan Smith danms at us.ibm.com
Wed Aug 12 08:10:44 PDT 2009


The exported prototypes in checkpoint.h don't match the actual functions.

Signed-off-by: Dan Smith <danms at us.ibm.com>
---
 include/linux/checkpoint.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h
index 538fc75..60b230e 100644
--- a/include/linux/checkpoint.h
+++ b/include/linux/checkpoint.h
@@ -70,9 +70,9 @@ extern int _ckpt_read_buffer(struct ckpt_ctx *ctx, void *ptr, int len);
 extern int _ckpt_read_string(struct ckpt_ctx *ctx, void *ptr, int len);
 extern void *ckpt_read_obj_type(struct ckpt_ctx *ctx, int len, int type);
 extern void *ckpt_read_buf_type(struct ckpt_ctx *ctx, int len, int type);
-extern int ckpt_read_buf_payload(struct ckpt_ctx *ctx,
-				 void **ptr, int max, int type);
-extern char *ckpt_read_buf_string(struct ckpt_ctx *ctx, int max);
+extern int ckpt_read_payload(struct ckpt_ctx *ctx,
+			     void **ptr, int max, int type);
+extern char *ckpt_read_string(struct ckpt_ctx *ctx, int max);
 extern int ckpt_read_consume(struct ckpt_ctx *ctx, int len, int type);
 
 extern char *ckpt_fill_fname(struct path *path, struct path *root,
-- 
1.6.2.5



More information about the Containers mailing list