diff options
author | Dan Winship <danw@gnome.org> | 2013-10-19 13:03:58 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-11-20 09:16:16 -0500 |
commit | 6e4a7fca431f53fdfd89afbe956212229cf52200 (patch) | |
tree | 8b492a3d5f272c3efbcd8e876c66819d020e9513 /gio/gbufferedinputstream.c | |
parent | 7f5b2901cf5bea290c11133dad16850176178dad (diff) |
Require C90 compliance
Assume all supported platforms implement C90, and therefore they
(correctly) implement atexit(), memmove(), setlocale(), strerror(),
and vprintf(), and have <float.h> and <limits.h>.
(Also remove the configure check testing that "do ... while (0)" works
correctly; the non-do/while-based version of G_STMT_START and
G_STMT_END was removed years ago, but the check remained. Also, remove
some checks that configure.ac claimed were needed for libcharset, but
aren't actually used.)
Note that removing the g_memmove() function is not an ABI break even
on systems where g_memmove() was previously not a macro, because it
was never marked GLIB_AVAILABLE_IN_ALL or listed in glib.symbols, so
it would have been glib-internal since 2004.
https://bugzilla.gnome.org/show_bug.cgi?id=710519
Diffstat (limited to 'gio/gbufferedinputstream.c')
-rw-r--r-- | gio/gbufferedinputstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gbufferedinputstream.c b/gio/gbufferedinputstream.c index 6b9257ad7..1053b1cb9 100644 --- a/gio/gbufferedinputstream.c +++ b/gio/gbufferedinputstream.c @@ -639,7 +639,7 @@ compact_buffer (GBufferedInputStream *stream) current_size = priv->end - priv->pos; - g_memmove (priv->buffer, priv->buffer + priv->pos, current_size); + memmove (priv->buffer, priv->buffer + priv->pos, current_size); priv->pos = 0; priv->end = current_size; |