summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-16 08:05:23 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-16 23:11:35 +0100
commit88683b767b0da6c3f311d34991e0388a5c1d5299 (patch)
tree4f5c5f86b758a1521bfd18d4c956672a50b3eec1 /util/spkmodem_recv
parent83b34e2f4808d38e82abcd8d4a5f161eba7e8c24 (diff)
util/spkmodem_recv: Define argc/argv in main
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv')
-rw-r--r--util/spkmodem_recv/spkmodem-recv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c
index a910b054..ecee6fbb 100644
--- a/util/spkmodem_recv/spkmodem-recv.c
+++ b/util/spkmodem_recv/spkmodem-recv.c
@@ -51,12 +51,15 @@ read_sample (void)
}
int
-main ()
+main (int argc, char *argv[])
{
int bitn = 7;
char c = 0;
int i;
int llp = 0;
+
+ (void)argc; (void)argv;
+
while (!feof (stdin)) {
if (lp > 3 * SAMPLES_PER_TRAME) {
bitn = 7;