X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmbsrtowcs-state.c;h=3b4db21e0056b0940fa6aaf38e9ebb55b713ccb3;hb=9fbf8e1a391ab49dca9c608a32af9a42831f3445;hp=8216c790d7b126f38f4d6be5f3bc5274854d4c4c;hpb=6906a95bfc7fc83e4ffa7ef2f68e377157d926f7;p=gnulib.git diff --git a/lib/mbsrtowcs-state.c b/lib/mbsrtowcs-state.c index 8216c790d..3b4db21e0 100644 --- a/lib/mbsrtowcs-state.c +++ b/lib/mbsrtowcs-state.c @@ -1,5 +1,5 @@ /* Convert string to wide string. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2009 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This program is free software: you can redistribute it and/or modify @@ -20,4 +20,4 @@ #include /* Internal state used by the functions mbsrtowcs() and mbsnrtowcs(). */ -mbstate_t _gl_mbsrtowcs_state; +mbstate_t _gl_mbsrtowcs_state = 0;