From: Jim Meyering Date: Fri, 22 Nov 2013 16:14:30 +0000 (-0800) Subject: freading: declare with attribute "pure" X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=b076a606c06a7bf7150c9591028052884d48232f freading: declare with attribute "pure" * lib/freading.h (freading): Declare with the "pure" attribute. --- diff --git a/ChangeLog b/ChangeLog index 8f50c2d4e..8ac6053d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-01-02 Jim Meyering + freading: declare with the "pure" attribute + * lib/freading.h (freading): Declare with the "pure" attribute. + manywarnings: remove -Wmudflap * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wmudflap, since it is no longer supported in gcc-4.9-to-be. diff --git a/lib/freading.h b/lib/freading.h index e4aca782e..3d1c7b2c8 100644 --- a/lib/freading.h +++ b/lib/freading.h @@ -44,7 +44,7 @@ extern "C" { # endif -extern bool freading (FILE *stream); +extern bool freading (FILE *stream) _GL_ATTRIBUTE_PURE; # ifdef __cplusplus }