File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -146,13 +146,8 @@ extern int Get_Next_HR_SWInst(void);
146
146
extern void End_HR_SWInst (void );
147
147
extern int Save_HR_SW_info (int ix );
148
148
149
- #ifdef HAVE_LIBRPM
150
149
static void Mark_HRSW_token (void );
151
150
static void Release_HRSW_token (void );
152
- #else
153
- #define Mark_HRSW_token ()
154
- #define Release_HRSW_token ()
155
- #endif
156
151
157
152
158
153
#define HRSWINST_CHANGE 1
@@ -705,7 +700,6 @@ Save_HR_SW_info(int ix)
705
700
return 0 ;
706
701
}
707
702
708
- #ifdef HAVE_LIBRPM
709
703
void
710
704
Mark_HRSW_token (void )
711
705
{
@@ -714,14 +708,15 @@ Mark_HRSW_token(void)
714
708
void
715
709
Release_HRSW_token (void )
716
710
{
711
+ #ifdef HAVE_LIBRPM
717
712
SWI_t * swi = & _myswi ; /* XXX static for now */
718
713
if (swi != NULL && swi -> swi_h ) {
719
714
headerFree (swi -> swi_h );
720
715
swi -> swi_h = NULL ;
721
716
swi -> swi_prevx = -1 ;
722
717
}
723
- }
724
718
#endif /* HAVE_LIBRPM */
719
+ }
725
720
726
721
void
727
722
End_HR_SWInst (void )
You can’t perform that action at this time.
0 commit comments