compile without warnings with FULL_WARNINGS=yes

This commit is contained in:
Gwenhael Le Moine 2024-10-10 05:53:45 +02:00
parent 517c6d3d3d
commit db4aa0b0a3
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 6 additions and 6 deletions

View file

@ -122,9 +122,9 @@ typedef struct ChfDescriptor_S {
/* Standalone message table */
typedef struct ChfTable_S {
int module; /* Module identifier */
int code; /* Condition code */
char* msg_template; /* Message template */
int module; /* Module identifier */
int code; /* Condition code */
const char* msg_template; /* Message template */
} ChfTable;
/* Condition handler */

View file

@ -229,7 +229,7 @@ typedef void ( *ModWriteFunction )( Address rel_addr, Nibble data );
enum ModConfig { MOD_UNCONFIGURED, MOD_SIZE_CONFIGURED, MOD_CONFIGURED };
struct ModDescriptionEntry {
char* name;
const char* name;
Address id;
int access_prio;
#define MOD_MIN_ACCESS_PRIO ( -1 )

View file

@ -250,8 +250,8 @@ static int mon_quit( void )
---------------------------------------------------------------------------*/
struct TEntry {
char* name;
char* desc;
const char* name;
const char* desc;
int ( *function )( void );
};