avoid stupid conflicts with core libraries due to too common names for our libraries.
[apps/madmutt.git] / lib-ui / enter.c
index 39e0100..d42c855 100644 (file)
@@ -8,13 +8,6 @@
  * please see the file GPL in the top level source directory.
  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <wctype.h>
-#include <wchar.h>
-
 #include <lib-lib/lib-lib.h>
 
 #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;