Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bscottm committed Mar 6, 2024
1 parent b4de929 commit 6c8b61f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Ibm1130/ibm1130_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ extern UNIT cr_unit, prt_unit[];
# define ARFSET(v) /* without GUI, no need for setting ARF */
#endif

static void init_console_window (void);
static void destroy_console_window (void);
static t_stat view_cmd (int32 flag, CONST char *cptr);
static t_stat cpu_attach (UNIT *uptr, CONST char *cptr);
static t_bool bsctest (int32 DSPLC, t_bool reset_V);
Expand Down
4 changes: 4 additions & 0 deletions Ibm1130/ibm1130_cr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,9 @@ static char * skipbl (char *str)
return str;
}

#if THIS_IS_EVER_NEEDED
/* This function is never called. Leaving it in if the IBM-1130 author
* deems it significant. */
static char * trim (char *str)
{
char *s, *lastnb;
Expand All @@ -1236,6 +1239,7 @@ static char * trim (char *str)

return str;
}
#endif

/* alltrim - remove all leading and trailing whitespace from a string */

Expand Down
2 changes: 0 additions & 2 deletions Ibm1130/ibm1130_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ extern t_bool program_is_loaded;
void disk_ready (int ready) {}
void disk_unlocked (int unlocked) {}
void gui_run (int running) {}
static void init_console_window (void) {}
static void destroy_console_window (void) {}

t_stat console_reset (DEVICE *dptr) {return SCPE_OK;}
long stuff_cmd (char *cmd) {return 0;}
Expand Down

0 comments on commit 6c8b61f

Please sign in to comment.