From 723fd3be917570ec3b2605b2e9c8c4e83a8f78e9 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 9 Feb 2025 22:36:30 -0500 Subject: Allow compilation with -O0 * libshouldbeinlibc/lcm.c: make gcd static since it's not exposed as a symbol. * pfinet/linux-src/net/ipv4/{tcp,udp}_ipv4.c: Drop inline from lookup functions since they are used in another module (icmp.c) and shouldn't be removed. * term/munge.c: make poutput static since it's not exposed as a symbol. Message-ID: --- libshouldbeinlibc/lcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc/lcm.c') diff --git a/libshouldbeinlibc/lcm.c b/libshouldbeinlibc/lcm.c index 606f4eba..ac0fafee 100644 --- a/libshouldbeinlibc/lcm.c +++ b/libshouldbeinlibc/lcm.c @@ -23,7 +23,7 @@ /* There are probably more efficient ways to do these... */ /* Return the greatest common divisor of p & q. */ -inline long +static inline long gcd (long p, long q) { if (p == 0) -- cgit v1.2.3