mirror of
https://github.com/simh/simh.git
synced 2026-05-02 14:20:05 +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:
@@ -148,7 +148,7 @@ static pascal OSStatus doKbdEvent ( EventHandlerCallRef handlerRef,
|
||||
return (noErr);
|
||||
}
|
||||
|
||||
int ws_init ( char *crtname, /* crt type name */
|
||||
int ws_init ( const char *crtname, /* crt type name */
|
||||
int xp, /* screen size in pixels */
|
||||
int yp,
|
||||
int colors, /* colors to support (not used) */
|
||||
|
||||
Reference in New Issue
Block a user