Fix gcc3 inlining; noticed by sturm@.

This commit is contained in:
grange 2004-11-04 05:08:00 +00:00
parent 30b0ada6a9
commit 1fcf458373

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-cnupm_collect_c,v 1.1 2004/11/04 05:08:00 grange Exp $
--- cnupm/collect.c.orig Wed Nov 3 23:31:56 2004
+++ cnupm/collect.c Wed Nov 3 23:32:09 2004
@@ -83,7 +83,7 @@ int collect_ports = 1;
RB_HEAD(ct_tree, ct_entry) ct_head;
-static __inline int
+static int
ct_entry_compare(struct ct_entry *a, struct ct_entry *b)
{
int diff;