From 298c32576ae4414055d824c371f9a59bc18c7d6a Mon Sep 17 00:00:00 2001 From: stmctommyau Date: Tue, 26 Sep 2023 23:58:24 +0800 Subject: [PATCH] clean up --- utils.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/utils.h b/utils.h index 34b9aeb..f89ec1f 100644 --- a/utils.h +++ b/utils.h @@ -120,7 +120,16 @@ bool item_inputer(char * varname,INPUT_TYPE type,void * item,bool empty_allowed) return true; } -void lister(void * db,struct Map* map, int row,char * lister_name,char * SortItems[],int NoSortItems,void (*page_printer)(void*,int,int,struct Map*) , struct Map* (*sorter)(void *,int),void * (*showitem)(void *,int)){ +void lister( + void * db, + struct Map* map, + int row, + char * lister_name, + char * SortItems[], + int NoSortItems, + void (*page_printer)(void*,int,int,struct Map*), + struct Map* (*sorter)(void *,int),void * (*showitem)(void *,int)) +{ int choice = -1; int page = 0; int page_size = SIZE_OF_PAGE;