X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fenter.c;h=0d61f2d110d5064127205d6b67a68a2c45e109cf;hp=39e0100f29fb1e46f9c153f4c0f6a93b07e1d76a;hb=e7a772dca1b86e4036d25038ee67aa34dd217c07;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/lib-ui/enter.c b/lib-ui/enter.c index 39e0100..0d61f2d 100644 --- a/lib-ui/enter.c +++ b/lib-ui/enter.c @@ -8,13 +8,6 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - #include #include "curses.h" @@ -122,7 +115,7 @@ static void my_wcstombs (char *dest, ssize_t dlen, const wchar_t * src, } } -size_t my_mbstowcs (wchar_t ** pwbuf, size_t * pwbuflen, size_t i, const char *buf) +static size_t my_mbstowcs (wchar_t ** pwbuf, size_t * pwbuflen, size_t i, const char *buf) { wchar_t wc; mbstate_t st; @@ -184,7 +177,7 @@ int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags) int rv; ENTER_STATE *es = mutt_new_enter_state (); - rv = _mutt_enter_string (buf, buflen, y, x, flags, 0, NULL, NULL, es); + rv = _mutt_enter_string(buf, buflen, y, x, flags, 0, NULL, NULL, es); mutt_free_enter_state (&es); return rv; }