From db7f951866282014c6d2f1e58f393a3d4c6f5a99 Mon Sep 17 00:00:00 2001
From: Philippe Verley <philippe.verley@ird.fr>
Date: Mon, 7 Nov 2022 09:54:22 +0000
Subject: [PATCH] Forgot one function declaration in preivous commit for
 ads_1.5-8

---
 src/triangulate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/triangulate.c b/src/triangulate.c
index 9d4b2a8..2d6c831 100755
--- a/src/triangulate.c
+++ b/src/triangulate.c
@@ -816,7 +816,7 @@ int generate_random_ordering(int n) {
 
 /* Return the next segment in the generated random ordering of all the */
 /* segments in S */
-int choose_segment() {
+int choose_segment(void) {
 #ifdef DEBUG
   Rprintf("choose_segment: %d\n", permute[choose_idx]);
 #endif
-- 
GitLab