@@ -548,10 +548,14 @@ void trace2_region_enter_printf_va_fl(const char *file, int line,
548
548
}
549
549
550
550
void 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 , ... )
552
552
{
553
+ va_list ap ;
554
+ va_start (ap , repo );
553
555
trace2_region_enter_printf_va_fl (file , line , category , label , repo ,
554
- NULL , NULL );
556
+ NULL , ap );
557
+ va_end (ap );
558
+
555
559
}
556
560
557
561
void 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,
621
625
}
622
626
623
627
void 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 , ... )
625
629
{
630
+ va_list ap ;
631
+ va_start (ap , repo );
626
632
trace2_region_leave_printf_va_fl (file , line , category , label , repo ,
627
- NULL , NULL );
633
+ NULL , ap );
634
+ va_end (ap );
628
635
}
629
636
630
637
void trace2_region_leave_printf_fl (const char * file , int line ,
0 commit comments