Changeset 89b2daf for global.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:20 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:
bd65108
Parents:
3eb599d
git-author:
Anders Kaseorg <andersk@mit.edu> (07/22/09 02:19:16)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:20)
Message:
Add const qualifiers for owl_regex *.

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

Legend:

Unmodified
Added
Removed
  • global.c

    r1fdab04 r89b2daf  
    712712}
    713713
    714 void owl_global_set_search_re(owl_global *g, owl_regex *re) {
     714void owl_global_set_search_re(owl_global *g, const owl_regex *re) {
    715715  if (owl_regex_is_set(&g->search_re)) {
    716716    owl_regex_free(&g->search_re);
     
    721721}
    722722
    723 owl_regex *owl_global_get_search_re(owl_global *g) {
     723const owl_regex *owl_global_get_search_re(owl_global *g) {
    724724  return &g->search_re;
    725725}
Note: See TracChangeset for help on using the changeset viewer.