Changeset e19eb97 for keybinding.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 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:
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
  • keybinding.c

    rd43edd2 re19eb97  
    1212
    1313/* sets up a new keybinding for a command */
    14 int owl_keybinding_init(owl_keybinding *kb, char *keyseq, char *command, void (*function_fn)(void), char *desc)
     14int owl_keybinding_init(owl_keybinding *kb, const char *keyseq, const char *command, void (*function_fn)(void), const char *desc)
    1515{
    1616  char **ktokens;
     
    100100}
    101101
    102 char *owl_keybinding_get_desc(owl_keybinding *kb)
     102const char *owl_keybinding_get_desc(owl_keybinding *kb)
    103103{
    104104  return kb->desc;
Note: See TracChangeset for help on using the changeset viewer.