Changeset e19eb97 for history.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
  • history.c

    rd43edd2 re19eb97  
    1515}
    1616
    17 char *owl_history_get_prev(owl_history *h)
     17const char *owl_history_get_prev(owl_history *h)
    1818{
    1919
     
    3232}
    3333
    34 char *owl_history_get_next(owl_history *h)
     34const char *owl_history_get_next(owl_history *h)
    3535{
    3636  if (!h) return NULL;
     
    4444}
    4545
    46 void owl_history_store(owl_history *h, char *line)
     46void owl_history_store(owl_history *h, const char *line)
    4747{
    4848  int size;
Note: See TracChangeset for help on using the changeset viewer.