summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-16 08:42:07 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-16 23:11:35 +0100
commit697ae5e2cac9d4be13a1e140a04e4873d96f3325 (patch)
tree9c53a98a36ef860d0066deb0a243d5cd72ad4625
parent2c12e70cfe5e6fd636e399b3306e311ca8e9196b (diff)
util/spkmodem_recv: Remove use of static keyword
It is entirely superfluous in this program. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/spkmodem_recv/spkmodem-recv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c
index bbd0dea8..702ea394 100644
--- a/util/spkmodem_recv/spkmodem-recv.c
+++ b/util/spkmodem_recv/spkmodem-recv.c
@@ -19,14 +19,14 @@
#define DEBUG 0
#define FLUSH_TIMEOUT 1
-static signed short frame[2 * SAMPLES_PER_FRAME];
-static signed short pulse[2 * SAMPLES_PER_FRAME];
-static int ringpos = 0;
-static int pos, f1, f2;
-static int amplitude = 0;
-static int lp = 0;
+signed short frame[2 * SAMPLES_PER_FRAME];
+signed short pulse[2 * SAMPLES_PER_FRAME];
+int ringpos = 0;
+int pos, f1, f2;
+int amplitude = 0;
+int lp = 0;
-static void read_sample(void);
+void read_sample(void);
int
main(int argc, char *argv[])
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
return 0;
}
-static void
+void
read_sample(void)
{
amplitude -= abs(frame[ringpos]);