X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Fbtowc.c;h=8744602aaf25ed826985490ed18bd2ba25d006cb;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=7f3b9663c4f261ece2ce3ff4db8bd3a6d7a99876;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/gnulib/btowc.c b/gnulib/btowc.c index 7f3b966..8744602 100644 --- a/gnulib/btowc.c +++ b/gnulib/btowc.c @@ -1,5 +1,5 @@ /* Convert unibyte character to wide character. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008, 2010 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This program is free software: you can redistribute it and/or modify @@ -21,6 +21,7 @@ #include #include +#include wint_t btowc (int c) @@ -32,7 +33,7 @@ btowc (int c) buf[0] = c; if (mbtowc (&wc, buf, 1) >= 0) - return wc; + return wc; } return WEOF; }