ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit 1eb1964262267d30403e7b8f54ca060f0dc1069b
parent 92e5d14aa0e79a594eff1a47a1c031209dddf2da
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Thu, 16 Nov 2006 05:57:53 +0000

revert #if/#endif guard around ws_* variable decls (for WIN32)

Diffstat:
Mngrep.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ngrep.c b/ngrep.c @@ -176,12 +176,12 @@ void (*print_time)() = NULL, (*dump_delay)() = dump_delay_proc_init; /* - * When !Win32, windowsize stuff + * When !Win32, windowsize stuff. We leave it in regardless to avoid + * any additional #if complication/obfuscation. */ -#if !defined(_WIN32) uint32_t ws_row, ws_col = 80, ws_col_forced = 0; -#endif + int main(int argc, char **argv) { int32_t c;