]> Savannah Git Hosting - gnulib.git/commit
apply _GL_ATTRIBUTE_PURE to some inline functions
authorPádraig Brady <P@draigBrady.com>
Sat, 6 Dec 2014 01:28:17 +0000 (01:28 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 8 Dec 2014 10:20:34 +0000 (10:20 +0000)
commit3c411c43e5bd964fa6ac98f9cca639d18523ff06
treef5398b195cf219b4426a80d337170c1dae20be19
parentec6a60bfd9ba0f12ec07809636891909ee7ded66
apply _GL_ATTRIBUTE_PURE to some inline functions

clang 3.4.2 flagged these inline functions as pure

* lib/savewd.h (savewd_errno): Set _GL_ATTRIBUTE_PURE.
* lib/sig-handler.h (get_handler): Likewise.
* lib/stat-time.h (get_stat_{a,c,m,birth}time{,_ns}): Likewise.
* lib/timespec.h (timespec_cmp, timespec_sign): Likewise.
ChangeLog
lib/savewd.h
lib/sig-handler.h
lib/stat-time.h
lib/timespec.h