Changeset e19eb97 for keypress.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1077891a
Parents:
fa4562c
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:51)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Add const qualifiers for char * and void *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keypress.c

    r6551eae re19eb97  
    55static struct _owl_keypress_specialmap {
    66  int   kj;
    7   char *ks;
     7  const char *ks;
    88} specialmap[] = {
    99#ifdef KEY_CODE_YES
     
    175175
    176176/* returns ERR on failure, else a keycode */
    177 int owl_keypress_fromstring(char *kb)
     177int owl_keypress_fromstring(const char *kb)
    178178{
    179179  struct _owl_keypress_specialmap *sm;
Note: See TracChangeset for help on using the changeset viewer.