summaryrefslogtreecommitdiff
path: root/lib/fwriting.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-01-03 17:17:27 -0800
committerJim Meyering <meyering@fb.com>2014-01-03 17:17:27 -0800
commit34af3d3fd03a60d19c3fde90bbb350d5567fec66 (patch)
tree3118a6db079527a27c68cadce9f685fcad4e8377 /lib/fwriting.h
parenta75f17adf4664d5c34366f62fbca38dc5cd8e9dc (diff)
downloadgnulib-34af3d3fd03a60d19c3fde90bbb350d5567fec66.tar.gz
freadable, fwritable, fwriting: declare with the "pure" attribute
* lib/freadable.h (freadable): Declare with the "pure" attribute. * lib/fwritable.h (fwritable): Likewise. * lib/fwriting.h (fwriting): Likewise. Suggested by Bruno Haible.
Diffstat (limited to 'lib/fwriting.h')
-rw-r--r--lib/fwriting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fwriting.h b/lib/fwriting.h
index c4a913a62e..b4a9b0dc60 100644
--- a/lib/fwriting.h
+++ b/lib/fwriting.h
@@ -44,7 +44,7 @@
extern "C" {
# endif
-extern bool fwriting (FILE *stream);
+extern bool fwriting (FILE *stream) _GL_ATTRIBUTE_PURE;
# ifdef __cplusplus
}