X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fwcsrtombs-state.c;h=cbdd250e10291fdc2cb0b5a55300ec75621a6162;hb=df1da811f288a89eb524a4176c6fd62bacfb954a;hp=c06ad948105222b805587d86410cc85d04900ff4;hpb=a35b7df64eb0863e3d0759691e4d041354d7030f;p=gnulib.git diff --git a/lib/wcsrtombs-state.c b/lib/wcsrtombs-state.c index c06ad9481..cbdd250e1 100644 --- a/lib/wcsrtombs-state.c +++ b/lib/wcsrtombs-state.c @@ -1,5 +1,5 @@ /* Convert wide string to 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 wcsrtombs() and wcsnrtombs(). */ -mbstate_t _gl_wcsrtombs_state; +mbstate_t _gl_wcsrtombs_state = 0;