Changeset 9cf96c8 for select.c


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:
5b256de
Parents:
b258c51
git-author:
Anders Kaseorg <andersk@mit.edu> (08/03/09 23:47:22)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:21)
Message:
Add const qualifiers for owl_timer *.

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

Legend:

Unmodified
Added
Removed
  • select.c

    r77bced3 r9cf96c8  
    33static int dispatch_active = 0;
    44
    5 int _owl_select_timer_cmp(owl_timer *t1, owl_timer *t2) {
     5int _owl_select_timer_cmp(const owl_timer *t1, const owl_timer *t2) {
    66  return t1->time - t2->time;
    77}
    88
    9 int _owl_select_timer_eq(owl_timer *t1, owl_timer *t2) {
     9int _owl_select_timer_eq(const owl_timer *t1, const owl_timer *t2) {
    1010  return t1 == t2;
    1111}
Note: See TracChangeset for help on using the changeset viewer.