@@ -303,7 +303,6 @@ static const struct {
303
303
304
304
305
305
/* forward declarations */
306
- static void AdjustConfig ( TidyDocImpl * doc );
307
306
static Bool GetPickListValue ( ctmbstr value , PickListItems * pickList , uint * result );
308
307
309
308
@@ -620,7 +619,7 @@ void TY_(TakeConfigSnapshot)( TidyDocImpl* doc )
620
619
const TidyOptionValue * value = & doc -> config .value [ 0 ];
621
620
TidyOptionValue * snap = & doc -> config .snapshot [ 0 ];
622
621
623
- AdjustConfig ( doc ); /* Make sure it's consistent */
622
+ TY_ ( AdjustConfig ) ( doc ); /* Make sure it's consistent */
624
623
for ( ixVal = 0 ; ixVal < N_TIDY_OPTIONS ; ++ option , ++ ixVal )
625
624
{
626
625
assert ( ixVal == (uint ) option -> id );
@@ -669,7 +668,7 @@ void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom )
669
668
}
670
669
if ( needReparseTagsDecls )
671
670
ReparseTagDecls ( docTo , changedUserTags );
672
- AdjustConfig ( docTo ); /* Make sure it's consistent */
671
+ TY_ ( AdjustConfig ) ( docTo ); /* Make sure it's consistent */
673
672
}
674
673
}
675
674
@@ -963,7 +962,7 @@ int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ctmbstr file, ctmbstr charenc )
963
962
if ( fname != (tmbstr ) file )
964
963
TidyDocFree ( doc , fname );
965
964
966
- AdjustConfig ( doc );
965
+ TY_ ( AdjustConfig ) ( doc );
967
966
968
967
/* any new config errors? If so, return warning status. */
969
968
return (doc -> optionErrors > opterrs ? 1 : 0 );
@@ -1103,7 +1102,7 @@ Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding )
1103
1102
1104
1103
1105
1104
/* ensure that config is self consistent */
1106
- void AdjustConfig ( TidyDocImpl * doc )
1105
+ void TY_ ( AdjustConfig ) ( TidyDocImpl * doc )
1107
1106
{
1108
1107
if ( cfgBool (doc , TidyEncloseBlockText ) )
1109
1108
TY_ (SetOptionBool )( doc , TidyEncloseBodyText , yes );
0 commit comments