summaryrefslogtreecommitdiff
path: root/term/munge.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2025-02-09 22:36:30 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-10 20:30:44 +0100
commit723fd3be917570ec3b2605b2e9c8c4e83a8f78e9 (patch)
treec532e798bb89db7c6d95e958d8cb9defacc35862 /term/munge.c
parent4bbdda186cbd5f2bd377c1a03b1b09efdab6dd23 (diff)
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: <nmok54owdbglalqkw2ky76jzvn4vvyybpqtftruzhpixcsx7fo@jbphrribcxq5>
Diffstat (limited to 'term/munge.c')
-rw-r--r--term/munge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/munge.c b/term/munge.c
index 3b304605..0903dd03 100644
--- a/term/munge.c
+++ b/term/munge.c
@@ -38,7 +38,7 @@ int output_psize;
/* Actually drop character onto output queue. This should be the
only place where we actually enqueue characters on the output queue;
it is responsible for keeping track of cursor positions. */
-inline void
+static inline void
poutput (int c)
{
if (termflags & FLUSH_OUTPUT)