Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
'inline' -> 'inline static' for clang?
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre committed Jul 24, 2016
1 parent 5c6f2a0 commit 3dbdfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash_si_ptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "zend.h"

/* Function similar to zend_inline_hash_func. This is not identical. */
inline uint32_t inline_hash_of_address(zend_uintptr_t ptr) {
inline static uint32_t inline_hash_of_address(zend_uintptr_t ptr) {
register uint32_t hash = Z_UL(5381);
/* Note: Hash the least significant bytes first - Those need to influence the final result as much as possible. */
hash = ((hash << 5) + hash) + (ptr & 0xff);
Expand Down

0 comments on commit 3dbdfc9

Please sign in to comment.