We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65173f commit e02b99bCopy full SHA for e02b99b
mem/shm_mem.h
@@ -301,6 +301,7 @@ inline static void shm_threshold_check(void)
301
lock_release(mem_lock); \
302
} while (0)
303
#endif
304
+ extern unsigned long long *shm_hash_usage;
305
#else
306
#define shm_lock() lock_get(mem_lock)
307
#define shm_unlock() lock_release(mem_lock)
@@ -629,8 +630,6 @@ inline static void _shm_free_bulk(void *ptr,
629
630
#define shm_free_bulk( _ptr ) _shm_free_bulk( (_ptr), \
631
__FILE__, __FUNCTION__, __LINE__ )
632
-extern unsigned long long *shm_hash_usage;
633
-
634
#else /*DBG_MALLOC*/
635
636
#define shm_malloc_func shm_malloc
0 commit comments