mirror of
https://github.com/simh/simh.git
synced 2026-02-07 08:48:04 +00:00
ALL: Massive 'const' cleanup
These changes facilitate more robust parameter type checking and helps to identify unexpected coding errors. Most simulators can now also be compiled with a C++ compiler without warnings. Additionally, these changes have also been configured to facilitate easier backporting of simulator and device simulation modules to run under the simh v3.9+ SCP framework.
This commit is contained in:
@@ -122,7 +122,7 @@ typedef struct {
|
||||
extern DISK_INFO *diskOpen(FILE *fileref, uint32 isVerbose);
|
||||
extern DISK_INFO *diskOpenEx(FILE *fileref, uint32 isVerbose, DEVICE *device, uint32 debugmask, uint32 verbosedebugmask);
|
||||
extern t_stat diskClose(DISK_INFO **myDisk);
|
||||
extern t_stat diskCreate(FILE *fileref, char *ctlr_comment);
|
||||
extern t_stat diskCreate(FILE *fileref, const char *ctlr_comment);
|
||||
extern uint32 imdGetSides(DISK_INFO *myDisk);
|
||||
extern uint32 imdIsWriteLocked(DISK_INFO *myDisk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user