Skip to content

Commit c6e89c1

Browse files
committed
FIX: Move back functions to fb_extel.c and eliminate duplicate
1 parent 68965dc commit c6e89c1

2 files changed

Lines changed: 17 additions & 34 deletions

File tree

src/libphigs/f_binding/fb_el.c

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -271,23 +271,6 @@ FTN_SUBROUTINE(psici)(
271271
pset_int_colr_ind(colr_ind);
272272
}
273273

274-
/*******************************************************************************
275-
* psbici
276-
*
277-
* DESCR: set back interior colour index
278-
* RETURNS: N/A
279-
*/
280-
FTN_SUBROUTINE(psbici)(
281-
FTN_INTEGER(coli)
282-
)
283-
{
284-
Pint colr_ind = FTN_INTEGER_GET(coli);
285-
#ifdef DEBUG
286-
printf("DEBUG: pset back interior color index set to %d\n", colr_ind);
287-
#endif
288-
pset_back_int_colr_ind(colr_ind);
289-
}
290-
291274
/*******************************************************************************
292275
* psis
293276
*
@@ -305,23 +288,6 @@ FTN_SUBROUTINE(psis)(
305288
pset_int_style(interior_style);
306289
}
307290

308-
/*******************************************************************************
309-
* pbsi
310-
*
311-
* DESCR: set back interior style
312-
* RETURNS: N/A
313-
*/
314-
FTN_SUBROUTINE(pbsi)(
315-
FTN_INTEGER(ints)
316-
)
317-
{
318-
Pint_style interior_style = (Pint_style) FTN_INTEGER_GET(ints);
319-
#ifdef DEBUG
320-
printf("DEBUG: PSBIS back interior style called to %d\n", (int)interior_style);
321-
#endif
322-
pset_back_int_style(interior_style);
323-
}
324-
325291
/*******************************************************************************
326292
* pschup
327293
*

src/libphigs/f_binding/fb_extel.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,23 @@ FTN_SUBROUTINE(psbici)(
902902
pset_back_int_colr_ind(colr_ind);
903903
}
904904

905+
/*******************************************************************************
906+
* pbsi
907+
*
908+
* DESCR: set back interior style
909+
* RETURNS: N/A
910+
*/
911+
FTN_SUBROUTINE(pbsi)(
912+
FTN_INTEGER(ints)
913+
)
914+
{
915+
Pint_style interior_style = (Pint_style) FTN_INTEGER_GET(ints);
916+
#ifdef DEBUG
917+
printf("DEBUG: PSBIS back interior style called to %d\n", (int)interior_style);
918+
#endif
919+
pset_back_int_style(interior_style);
920+
}
921+
905922
/*******************************************************************************
906923
* psbisi
907924
*

0 commit comments

Comments
 (0)