fpending, obstack, strerror-override: use pure+const function attrs
authorJim Meyering <meyering@fb.com>
Mon, 30 Sep 2013 17:19:38 +0000 (10:19 -0700)
committerJim Meyering <meyering@fb.com>
Sat, 19 Oct 2013 16:19:37 +0000 (09:19 -0700)
commitc2b08ae26cdc70a3acf7d1bc15bc77c92bbcc97c
tree200f30805d1195b5ae44cd2aac5c98a71fec4903
parent9f15e6702a27649a59263a7ed571805a979d9e70
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.
ChangeLog
lib/fpending.h
lib/obstack.c
lib/obstack.h
lib/strerror-override.h