Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed builds/mips32/snidump
Binary file not shown.
Binary file removed builds/mips32/snidump_dbg
Binary file not shown.
Binary file removed builds/mips32/snidump_noether
Binary file not shown.
Binary file removed builds/mips32/snidump_noether_dbg
Binary file not shown.
4 changes: 2 additions & 2 deletions src/colors.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#include <unistd.h>

#define IFTTY_STDOUT(x) (istty_stdout ? (x) : "")
uint8_t istty_stdout;
extern uint8_t istty_stdout;

#define IFTTY_STDERR(x) (istty_stderr ? (x) : "")
uint8_t istty_stderr;
extern uint8_t istty_stderr;

#define C_RED_LIGHT "1;31"
#define C_GREEN_LIGHT "1;32"
Expand Down
2 changes: 2 additions & 0 deletions src/snidump.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "http_api.h"

#include "colors.h"
uint8_t istty_stdout;
uint8_t istty_stderr;

/* References:
* netinet/ether.h
Expand Down