Add CONST_FUNC annotation
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 11 May 2010 04:11:36 +0000 (00:11 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 11 May 2010 04:11:36 +0000 (00:11 -0400)
src/hb-private.h

index 866ee59..7e292dc 100644 (file)
  * in libgcc in case a target does not have one, which should be just as
  * good as the open-coded solution below, (which is "HACKMEM 169").
  */
-static inline unsigned int
+static inline HB_CONST_FUNC unsigned int
 _hb_popcount32 (uint32_t mask)
 {
 #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)