couple of places but never checked. Retire it.
No functional change.
-/* $OpenBSD: cmd.c,v 1.114 2021/06/13 15:32:36 krw Exp $ */
+/* $OpenBSD: cmd.c,v 1.115 2021/06/14 17:34:06 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
#include "user.h"
#include "cmd.h"
-int reinited;
-
int gedit(int);
int edit(int, struct mbr *);
int gsetpid(int);
MBR_init(mbr);
MBR_print(mbr, "s");
}
- reinited = 1;
printf("Use 'write' to update disk.\n");
-/* $OpenBSD: cmd.h,v 1.19 2015/12/01 06:25:43 krw Exp $ */
+/* $OpenBSD: cmd.h,v 1.20 2021/06/14 17:34:06 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
};
extern struct cmd cmd_table[];
-extern int reinited;
-
int Xreinit(char *, struct mbr *);
int Xdisk(char *, struct mbr *);
int Xmanual(char *, struct mbr *);
-/* $OpenBSD: fdisk.c,v 1.107 2021/05/14 15:31:01 krw Exp $ */
+/* $OpenBSD: fdisk.c,v 1.108 2021/06/14 17:34:06 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
query = NULL;
if (i_flag) {
- reinited = 1;
if (g_flag) {
MBR_init_GPT(&initial_mbr);
GPT_init();