summaryrefslogtreecommitdiffstats
path: root/tbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl.c')
-rw-r--r--tbl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tbl.c b/tbl.c
index 537c7182..db468617 100644
--- a/tbl.c
+++ b/tbl.c
@@ -120,3 +120,11 @@ tbl_reset(struct tbl *tbl)
tbl_init(tbl);
}
+void
+tbl_restart(struct tbl *tbl)
+{
+
+ tbl_clear(tbl);
+ tbl->part = TBL_PART_LAYOUT;
+}
+