@@ -548,10 +548,14 @@ void trace2_region_enter_printf_va_fl(const char *file, int line,
548548}
549549
550550void trace2_region_enter_fl (const char * file , int line , const char * category ,
551- const char * label , const struct repository * repo )
551+ const char * label , const struct repository * repo , ... )
552552{
553+ va_list ap ;
554+ va_start (ap , repo );
553555 trace2_region_enter_printf_va_fl (file , line , category , label , repo ,
554- NULL , NULL );
556+ NULL , ap );
557+ va_end (ap );
558+
555559}
556560
557561void trace2_region_enter_printf_fl (const char * file , int line ,
@@ -621,10 +625,13 @@ void trace2_region_leave_printf_va_fl(const char *file, int line,
621625}
622626
623627void trace2_region_leave_fl (const char * file , int line , const char * category ,
624- const char * label , const struct repository * repo )
628+ const char * label , const struct repository * repo , ... )
625629{
630+ va_list ap ;
631+ va_start (ap , repo );
626632 trace2_region_leave_printf_va_fl (file , line , category , label , repo ,
627- NULL , NULL );
633+ NULL , ap );
634+ va_end (ap );
628635}
629636
630637void trace2_region_leave_printf_fl (const char * file , int line ,
0 commit comments