summaryrefslogtreecommitdiff
path: root/solver.h
diff options
context:
space:
mode:
authorolivier gayot <ogayot@free.fr>2012-12-13 11:59:30 +0000
committerolivier gayot <ogayot@free.fr>2012-12-13 11:59:30 +0000
commitaba329310979832911cf0f93243e7c6d27a1fc5d (patch)
tree5f48f828db5bbe84adf5436efa05b6e0378dec1f /solver.h
parenteeb456d954b90c8f1c9247d91afde52d690778ff (diff)
le_compte_est_bon: use const attribute with vectorsHEADmaster
We do not change the vectors at each reccursion, we create a new one instead, so we can set the source vectors to const.
Diffstat (limited to 'solver.h')
-rw-r--r--solver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/solver.h b/solver.h
index 357cd91..7fe71b2 100644
--- a/solver.h
+++ b/solver.h
@@ -6,6 +6,6 @@ typedef struct {
unsigned len;
} vect_t;
-void solve(vect_t *vect, int result);
+void solve(const vect_t *vect, int result);
#endif /* SOLVER_H */