diff options
author | Jonathan Gray | 2003-07-28 05:30:42 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-07-28 05:30:42 +0000 |
commit | ea5822ed23d7454fcaf65959fa59a6ed0e136fa4 (patch) | |
tree | 3570a85d960c5acd322f6b78d0e811a5c4b7f692 /sword2 | |
parent | 2fbcfb01a012b418643286c640112c81b5e92440 (diff) | |
download | scummvm-rg350-ea5822ed23d7454fcaf65959fa59a6ed0e136fa4.tar.gz scummvm-rg350-ea5822ed23d7454fcaf65959fa59a6ed0e136fa4.tar.bz2 scummvm-rg350-ea5822ed23d7454fcaf65959fa59a6ed0e136fa4.zip |
it would be nice if people would update functions when adding qualifiers to prototypes
svn-id: r9227
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/console.cpp | 10 | ||||
-rw-r--r-- | sword2/driver/rdwin.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sword2/console.cpp b/sword2/console.cpp index 9b4fb2b754..7ae4c1d298 100644 --- a/sword2/console.cpp +++ b/sword2/console.cpp @@ -328,7 +328,7 @@ void Clear_console_line(void) //Tony13Aug96 //----------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------- -void Print_to_console(char *format,...) //Tony13Aug96 +void Print_to_console(const char *format,...) //Tony13Aug96 { //print a NULL terminated string of ascii to the next console line //we can assume that the user has just entered a command by pressing return - which means we're on a clean line @@ -345,7 +345,7 @@ void Print_to_console(char *format,...) //Tony13Aug96 } //----------------------------------------------------------------------------------------------------------------------- -void Temp_print_to_console(char *format,...) //Tony13Aug96 +void Temp_print_to_console(const char *format,...) //Tony13Aug96 { //print a NULL terminated string of ascii to the next console line //we can assume that the user has just entered a command by pressing return - which means we're on a clean line @@ -1002,7 +1002,7 @@ void Con_colour_block(int x, int width, int height, uint32 pen, uint32 paper, ui //----------------------------------------------------------------------------------------------------------------------- -void Con_fatal_error(char *format,...) //Tony17Oct96 +void Con_fatal_error(const char *format,...) //Tony17Oct96 { //use this to alert the user of a major problem from which we cannot allow the game to continue //while in console mode the user will still be ble to use the console commands - which may be useful @@ -1332,8 +1332,8 @@ void Con_display_events() // (James11july97) #else // not debug -void Print_to_console(char *format,...) {}; -void Temp_print_to_console(char *format,...) {}; +void Print_to_console(const char *format,...) {}; +void Temp_print_to_console(const char *format,...) {}; void Clear_console_line(void) {}; void Scroll_console(void) {}; void Init_console(void) {}; diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp index 9d24d552d7..d3d6002b37 100644 --- a/sword2/driver/rdwin.cpp +++ b/sword2/driver/rdwin.cpp @@ -62,7 +62,7 @@ BOOL gotTheFocus = TRUE; //----------------------------------------------------------------------------- -void Zdebug(char *format,...) { +void Zdebug(const char *format,...) { #ifdef __PALM_OS__ char buf[256]; // 1024 is too big overflow the stack #else |