Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (14 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/config.cpp

    r2 r39  
    77#include "game.hpp"
    88
    9 extern int get_key_binding( char *dir, int i );
     9extern int get_key_binding(char const *dir, int i);
    1010
    1111extern window_manager *eh;
     
    3737
    3838/*
    39 int get_key_binding(char *dir, int i)
     39int get_key_binding(char const *dir, int i)
    4040{
    4141        char tmp[100], kn[50];
     
    220220// Returns -1 for an invalid key code
    221221//
    222 int get_keycode( char *str )
     222int get_keycode(char const *str)
    223223{
    224224        if( !str[0] )
Note: See TracChangeset for help on using the changeset viewer.