From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/include/prioq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/prioq.h') diff --git a/src/include/prioq.h b/src/include/prioq.h index 31c99ac..db61b59 100644 --- a/src/include/prioq.h +++ b/src/include/prioq.h @@ -12,8 +12,8 @@ struct prioq_elt { GEN_ALLOC_typedef(prioq, struct prioq_elt, p, len, a); -int prioq_insert(); -int prioq_min(); -void prioq_delmin(); +extern int prioq_insert(prioq *pq, struct prioq_elt *pe); +extern int prioq_min(prioq *pq, struct prioq_elt *pe); +extern void prioq_delmin(prioq *pq); #endif -- cgit v1.2.3