Changeset 369a7f0


Ignore:
Timestamp:
Aug 15, 2009, 7:08:21 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:
3b80321
Parents:
8742840
git-author:
Anders Kaseorg <andersk@mit.edu> (07/28/09 22:05:27)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:21)
Message:
Add const qualifiers for struct _owl_keypress_specialmap *.

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

Legend:

Unmodified
Added
Removed
  • keypress.c

    re19eb97 r369a7f0  
    33#include "owl.h"
    44
    5 static struct _owl_keypress_specialmap {
     5static const struct _owl_keypress_specialmap {
    66  int   kj;
    77  const char *ks;
     
    133133{
    134134  char kb[64], kb2[2];
    135   struct _owl_keypress_specialmap *sm;
     135  const struct _owl_keypress_specialmap *sm;
    136136
    137137  *kb = '\0';
     
    177177int owl_keypress_fromstring(const char *kb)
    178178{
    179   struct _owl_keypress_specialmap *sm;
     179  const struct _owl_keypress_specialmap *sm;
    180180  int ismeta=0, isctrl=0;
    181181  int j = ERR;
Note: See TracChangeset for help on using the changeset viewer.