diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-11 23:14:51 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-11 23:14:51 +0000 |
| commit | 62c0cc68c5c211c81d360a134ec8362471622725 (patch) | |
| tree | 90b9616c61623a73c2627fc9cc0da49d5f84411a /util | |
| parent | 361dbef41c04475300311c9e6e2eb8a4aef2dcbc (diff) | |
removed some unnecessary things
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/spkmodem_recv/spkmodem-recv.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c index 4e479be1..0da59fc1 100644 --- a/util/spkmodem_recv/spkmodem-recv.c +++ b/util/spkmodem_recv/spkmodem-recv.c @@ -7,10 +7,6 @@ * This version is heavily modified, re-written based on OpenBSD Kernel Source * File Style Guide (KNF); this change is Copyright 2023,2026 Leah Rowe. */ -#ifndef _XOPEN_SOURCE -#define _XOPEN_SOURCE 500 -#endif - #ifdef __OpenBSD__ #include <sys/param.h> #endif @@ -48,14 +44,6 @@ static void set_err_if_unset(int x); #define reset_char() ascii = 0, ascii_bit = 7 -#ifndef EXIT_SUCCESS -#define EXIT_SUCCESS 1 -#endif - -#ifndef EXIT_FAILURE -#define EXIT_FAILURE 0 -#endif - signed short frame[MAX_SAMPLES], pulse[MAX_SAMPLES]; int ringpos, debug, freq_data, freq_separator, sample_count, ascii_bit = 7; char ascii = 0; |
