summaryrefslogtreecommitdiff
path: root/lib/wcsrtombs-state.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-01-26 03:03:21 +0100
committerBruno Haible <bruno@clisp.org>2009-01-26 03:03:21 +0100
commit8d557bc3528230c6567d3a90633dc23b2de170a8 (patch)
tree361dcff59003b6904d5f097a98c76057b26992fa /lib/wcsrtombs-state.c
parentd629f6d28665184cf8970b691e48ea2dfccfa25f (diff)
downloadgnulib-8d557bc3528230c6567d3a90633dc23b2de170a8.tar.gz
Avoid link errors on MacOS X 10.3 / PowerPC.
Diffstat (limited to 'lib/wcsrtombs-state.c')
-rw-r--r--lib/wcsrtombs-state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wcsrtombs-state.c b/lib/wcsrtombs-state.c
index c06ad94810..cbdd250e10 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 <bruno@clisp.org>, 2008.
This program is free software: you can redistribute it and/or modify
@@ -20,4 +20,4 @@
#include <wchar.h>
/* Internal state used by the functions wcsrtombs() and wcsnrtombs(). */
-mbstate_t _gl_wcsrtombs_state;
+mbstate_t _gl_wcsrtombs_state = 0;