nano

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

commit 7e334c95cb43c5d115c9ed1dc1c535f642a4c4b3
parent 11072ed5877eb82af4cf6d5651ea7fa25a7816a9
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun,  6 Aug 2017 11:20:56 -0500

tweaks: harmonize some prototypes with their functions

Match three variable names in the prototypes
to the changd ones in their functions in utils.c.

Diffstat:
Msrc/proto.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/proto.h b/src/proto.h @@ -601,9 +601,9 @@ char *mallocstrcpy(char *dest, const char *src); char *free_and_assign(char *dest, char *src); size_t get_page_start(size_t column); size_t xplustabs(void); -size_t actual_x(const char *s, size_t column); -size_t strnlenpt(const char *s, size_t maxlen); -size_t strlenpt(const char *s); +size_t actual_x(const char *text, size_t column); +size_t strnlenpt(const char *text, size_t maxlen); +size_t strlenpt(const char *text); void new_magicline(void); #if !defined(NANO_TINY) || defined(ENABLE_HELP) void remove_magicline(void);