aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-28 14:49:06 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commita8e69108c1be5ad74f65b504636336f4940e0085 (patch)
treedd32161308e3db9240c8856d2dd05933f9cfe0ec /src/utils.h
parent123da4404c1766c58ed9c34122e8e8b3d75e8614 (diff)
Make argument of num_items() const
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index 14ef45a7..ab07336d 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -194,7 +194,7 @@ extern void add_item(ReflItemList *items,
extern int find_item(ReflItemList *items,
signed int h, signed int k, signed int l);
extern struct refl_item *get_item(ReflItemList *items, int i);
-extern int num_items(ReflItemList *items);
+extern int num_items(const ReflItemList *items);
extern unsigned int *items_to_counts(ReflItemList *items);