From a47fec81b2a9eae2712da86c75db27cf76fae4b4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 10 Jul 2013 14:17:58 +0200 Subject: fdisk: allow to exchange context pointer in menu callbacks ... to make it possible to switch to nested contexts (nested partition tables). Signed-off-by: Karel Zak --- fdisks/fdisk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fdisks/fdisk.h') diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h index 9c40d314b..05721bbd8 100644 --- a/fdisks/fdisk.h +++ b/fdisks/fdisk.h @@ -25,7 +25,7 @@ extern int get_user_reply(struct fdisk_context *cxt, const char *prompt, char *buf, size_t bufsz); extern int print_fdisk_menu(struct fdisk_context *cxt); -extern int process_fdisk_menu(struct fdisk_context *cxt); +extern int process_fdisk_menu(struct fdisk_context **cxt); extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, void *data __attribute__((__unused__))); -- cgit v1.2.3-55-g7522