Mercurial > gnulib
comparison lib/fpending.h @ 37209:f23811891fc5
fpending, obstack, strerror-override: use pure+const function attrs
* lib/fpending.h (__fpending): Declare with the "pure" attribute.
* lib/obstack.c (_obstack_allocated_p): Likewise.
* lib/obstack.h (_obstack_memory_used): Likewise.
(_obstack_memory_used): Likewise.
* lib/strerror-override.h (strerror_override): Declare with
the "const" attribute.
author | Jim Meyering <meyering@fb.com> |
---|---|
date | Mon, 30 Sep 2013 10:19:38 -0700 |
parents | e8cf7fdbb01b |
children | bea55f5d7b30 |
comparison
equal
deleted
inserted
replaced
37208:1eb5f45967c9 | 37209:f23811891fc5 |
---|---|
23 #if HAVE_STDIO_EXT_H | 23 #if HAVE_STDIO_EXT_H |
24 # include <stdio_ext.h> | 24 # include <stdio_ext.h> |
25 #endif | 25 #endif |
26 | 26 |
27 #ifndef __fpending | 27 #ifndef __fpending |
28 size_t __fpending (FILE *); | 28 size_t __fpending (FILE *) _GL_ATTRIBUTE_PURE; |
29 #endif | 29 #endif |