diff options
author | Thomas White <taw@physics.org> | 2010-06-28 14:49:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:51 +0100 |
commit | a8e69108c1be5ad74f65b504636336f4940e0085 (patch) | |
tree | dd32161308e3db9240c8856d2dd05933f9cfe0ec /src/utils.c | |
parent | 123da4404c1766c58ed9c34122e8e8b3d75e8614 (diff) |
Make argument of num_items() const
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index de820cf3..9348dc00 100644 --- a/src/utils.c +++ b/src/utils.c @@ -353,7 +353,7 @@ struct refl_item *get_item(ReflItemList *items, int i) return &items->items[i]; } -int num_items(ReflItemList *items) +int num_items(const ReflItemList *items) { return items->n_items; } |