nano

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

commit e701bb01aa13b8c965ff4075b5875ff5551687bc
parent a3102cd4cf7ff302ade7c704375804f857fe4449
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon,  8 May 2017 12:57:15 +0200

tweaks: remove five dummy function definitions from the tiny version

Diffstat:
Msrc/global.c | 2++
Msrc/proto.h | 4+++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/global.c b/src/global.c @@ -277,6 +277,7 @@ void goto_dir_void(void) { } #endif +#ifndef NANO_TINY void dos_format_void(void) { } @@ -292,6 +293,7 @@ void prepend_void(void) void backup_file_void(void) { } +#endif void discard_buffer(void) { } diff --git a/src/proto.h b/src/proto.h @@ -683,17 +683,19 @@ void disable_nodelay(void); void do_credits(void); #endif -/* May as well throw these here, since they are just placeholders. */ +/* These are just name definitions. */ void do_cancel(void); void case_sens_void(void); void regexp_void(void); void gototext_void(void); void to_files_void(void); +#ifndef NANO_TINY void dos_format_void(void); void mac_format_void(void); void append_void(void); void prepend_void(void); void backup_file_void(void); +#endif void discard_buffer(void); void new_buffer_void(void); void backwards_void(void);