nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 092174dad5a9d0479d0c3f04337f09e491c5ac49
parent 78bc8b698c15827f31c0adff002d79a5cdf3e8fa
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 11 Jul 2017 17:19:54 +0200

tweaks: move an include to the file that actually makes use of it

Well, it will compile even without that include.  :|
I don't know why, since it does use va_list.

Diffstat:
Msrc/files.c | 1+
Msrc/nano.h | 2--
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -21,6 +21,7 @@ #include "proto.h" +#include <stdarg.h> #include <stdio.h> #include <string.h> #include <unistd.h> diff --git a/src/nano.h b/src/nano.h @@ -48,8 +48,6 @@ #include <sys/param.h> #endif -#include <stdarg.h> - /* Suppress warnings for __attribute__((warn_unused_result)). */ #define IGNORE_CALL_RESULT(call) do { if (call) {} } while(0)