diff options
Diffstat (limited to 'tbl.c')
-rw-r--r-- | tbl.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tbl.c,v 1.6 2010/12/29 14:38:14 kristaps Exp $ */ +/* $Id: tbl.c,v 1.7 2010/12/29 14:53:31 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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; +} + |