Browse Source

Merge topic 'KWSys-hashtable-old-gcc'

4f170e2 KWSys: Fix hashtable prime list on g++ 2.9 (#13273)
David Cole 13 years ago
parent
commit
4075e1ca6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/hashtable.hxx.in

+ 1 - 1
Source/kwsys/hashtable.hxx.in

@@ -394,7 +394,7 @@ enum { _stl_num_primes = 31 };
 
 // create a function with a static local to that function that returns
 // the static
-inline const unsigned long* get_stl_prime_list() {
+static inline const unsigned long* get_stl_prime_list() {
 
 static const unsigned long _stl_prime_list[_stl_num_primes] =
 {