From c49f47d13c797d91012b6706a228cfae5bd2a429 Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 24 Feb 2021 17:06:57 +0100 Subject: [PATCH] Made keyer_straight() a private local function for iambic.c --- iambic.c | 2 +- iambic.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/iambic.c b/iambic.c index d6959f0..dadc20a 100644 --- a/iambic.c +++ b/iambic.c @@ -248,7 +248,7 @@ int gpio_cw_sidetone_enabled() { return 0; } void gpio_cw_sidetone_set(int level) {} #endif -void keyer_straight_key(int state) { +static void keyer_straight_key(int state) { // // Interface for simple key-down action e.g. from a MIDI message // diff --git a/iambic.h b/iambic.h index 4d7c5f3..91fcd43 100644 --- a/iambic.h +++ b/iambic.h @@ -14,7 +14,6 @@ enum { EXITLOOP }; -void keyer_straight_key(int state); void keyer_event(int left, int state); void keyer_update(); void keyer_close(); -- 2.45.2