compile without warnings with FULL_WARNINGS=yes
This commit is contained in:
parent
517c6d3d3d
commit
db4aa0b0a3
3 changed files with 6 additions and 6 deletions
|
@ -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 */
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -250,8 +250,8 @@ static int mon_quit( void )
|
|||
---------------------------------------------------------------------------*/
|
||||
|
||||
struct TEntry {
|
||||
char* name;
|
||||
char* desc;
|
||||
const char* name;
|
||||
const char* desc;
|
||||
int ( *function )( void );
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue