mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
util/spkmodem_recv: Remove use of static keyword
It is entirely superfluous in this program. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -19,14 +19,14 @@
|
|||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#define FLUSH_TIMEOUT 1
|
#define FLUSH_TIMEOUT 1
|
||||||
|
|
||||||
static signed short frame[2 * SAMPLES_PER_FRAME];
|
signed short frame[2 * SAMPLES_PER_FRAME];
|
||||||
static signed short pulse[2 * SAMPLES_PER_FRAME];
|
signed short pulse[2 * SAMPLES_PER_FRAME];
|
||||||
static int ringpos = 0;
|
int ringpos = 0;
|
||||||
static int pos, f1, f2;
|
int pos, f1, f2;
|
||||||
static int amplitude = 0;
|
int amplitude = 0;
|
||||||
static int lp = 0;
|
int lp = 0;
|
||||||
|
|
||||||
static void read_sample(void);
|
void read_sample(void);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
read_sample(void)
|
read_sample(void)
|
||||||
{
|
{
|
||||||
amplitude -= abs(frame[ringpos]);
|
amplitude -= abs(frame[ringpos]);
|
||||||
|
|||||||
Reference in New Issue
Block a user