Changeset 12bc46a for keymap.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:20 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
476faed
Parents:
afa200a
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:38:12)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:20)
Message:
Add const qualifiers for owl_keyhandler *.

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

Legend:

Unmodified
Added
Removed
  • keymap.c

    rafa200a r12bc46a  
    167167}
    168168
    169 owl_keymap *owl_keyhandler_get_keymap(owl_keyhandler *kh, const char *mapname)
     169owl_keymap *owl_keyhandler_get_keymap(const owl_keyhandler *kh, const char *mapname)
    170170{
    171171  return owl_dict_find_element(&kh->keymaps, mapname);
     
    173173
    174174/* free the list with owl_cmddict_namelist_free */
    175 void owl_keyhandler_get_keymap_names(owl_keyhandler *kh, owl_list *l)
     175void owl_keyhandler_get_keymap_names(const owl_keyhandler *kh, owl_list *l)
    176176{
    177177  owl_dict_get_keys(&kh->keymaps, l);
Note: See TracChangeset for help on using the changeset viewer.