Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Fix almost 2,000 warnings by using proper "const" keywords where needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/console.cpp

    r2 r39  
    77extern window_manager *eh;
    88
    9 void console::put_string(char *st)
     9void console::put_string(char const *st)
    1010{
    1111  while (*st)
     
    6363}
    6464
    65 console::console(window_manager *WM, JCFont *font, int width, int height, char *Name)
     65console::console(window_manager *WM, JCFont *font, int width, int height, char const *Name)
    6666{
    6767  wm=WM;
     
    161161
    162162
    163 shell_term::shell_term(window_manager *WM, JCFont *font, int width, int height, char *Name) :
     163shell_term::shell_term(window_manager *WM, JCFont *font, int width, int height, char const *Name) :
    164164  console(WM,font,width,height,Name)
    165165{
     
    173173}
    174174
    175 void shell_term::execute(char *st)
     175void shell_term::execute(char const *st)
    176176{
    177177  put_string(st);
Note: See TracChangeset for help on using the changeset viewer.