mirror of
https://github.com/open-simh/simh.git
synced 2026-04-28 04:55:13 +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:
@@ -119,7 +119,7 @@
|
||||
#define TXE 0x04
|
||||
#define SD 0x40
|
||||
|
||||
extern int32 reg_dev(int32 (*routine)(), int32 port);
|
||||
extern int32 reg_dev(int32 (*routine)(int32, int32), int32 port);
|
||||
|
||||
/* function prototypes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user