From d6ffc8d784d41977397a49ce5333cfe7db1e9c2c Mon Sep 17 00:00:00 2001 From: Martin Koegler Date: Mon, 25 Feb 2008 22:46:09 +0100 Subject: add common fsck error printing function Signed-off-by: Martin Koegler Signed-off-by: Junio C Hamano --- fsck.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fsck.h') diff --git a/fsck.h b/fsck.h index 9bd37c9f1..990ee0233 100644 --- a/fsck.h +++ b/fsck.h @@ -17,6 +17,8 @@ typedef int (*fsck_walk_func)(struct object *obj, int type, void *data); /* callback for fsck_object, type is FSCK_ERROR or FSCK_WARN */ typedef int (*fsck_error)(struct object *obj, int type, const char *err, ...); +int fsck_error_function(struct object *obj, int type, const char *fmt, ...); + /* descend in all linked child objects * the return value is: * -1 error in processing the object -- cgit v1.2.1