mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 04:06:58 +02:00
removed some unnecessary things
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -7,10 +7,6 @@
|
|||||||
* This version is heavily modified, re-written based on OpenBSD Kernel Source
|
* This version is heavily modified, re-written based on OpenBSD Kernel Source
|
||||||
* File Style Guide (KNF); this change is Copyright 2023,2026 Leah Rowe. */
|
* File Style Guide (KNF); this change is Copyright 2023,2026 Leah Rowe. */
|
||||||
|
|
||||||
#ifndef _XOPEN_SOURCE
|
|
||||||
#define _XOPEN_SOURCE 500
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -48,14 +44,6 @@ static void set_err_if_unset(int x);
|
|||||||
|
|
||||||
#define reset_char() ascii = 0, ascii_bit = 7
|
#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];
|
signed short frame[MAX_SAMPLES], pulse[MAX_SAMPLES];
|
||||||
int ringpos, debug, freq_data, freq_separator, sample_count, ascii_bit = 7;
|
int ringpos, debug, freq_data, freq_separator, sample_count, ascii_bit = 7;
|
||||||
char ascii = 0;
|
char ascii = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user