another minor constification.

master
Ozkan Sezer 5 years ago
parent 758154f256
commit fbb32bc1b3
  1. 4
      src/common.h
  2. 2
      src/info.c
  3. 2
      src/main.c

@ -75,7 +75,7 @@ struct control {
extern struct player_mode pmode[];
int report(char *, ...);
int report(const char *, ...);
void delay_ms(int msec);
@ -90,7 +90,7 @@ int reset_tty(void);
/* info */
void info_mod(struct xmp_module_info *, int);
void info_message(char *, ...);
void info_message(const char *, ...);
void info_frame_init(void);
void info_frame(struct xmp_module_info *, struct xmp_frame_info *, struct control *, int);
void info_ins_smp(struct xmp_module_info *);

@ -120,7 +120,7 @@ void info_frame_init(void)
static int msg_timer = 0;
static char msg_text[MSG_SIZE];
void info_message(char *format, ...)
void info_message(const char *format, ...)
{
va_list ap;

@ -37,7 +37,7 @@ static unsigned int foreground_in, foreground_out;
static int refresh_status;
int report(char *fmt, ...)
int report(const char *fmt, ...)
{
va_list a;
int n;

Loading…
Cancel
Save