diff options
author | ivmai <ivmai> | 2009-09-26 15:43:34 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:48 +0400 |
commit | cbdc6415cc8a2eb3de850771a45afaeddd283233 (patch) | |
tree | 173f7c74768c87d83668a305f8fd5a086b932521 /allchblk.c | |
parent | 3a9f172a4621dc6ad106ffe7d578b55a14531840 (diff) | |
download | bdwgc-cbdc6415cc8a2eb3de850771a45afaeddd283233.tar.gz |
2009-09-26 Ivan Maidanski <ivmai@mail.ru>
* allchblk.c (GC_enough_large_bytes_left): Replace "inline static"
with GC_INLINE.
* include/private/gc_priv.h (fixed_getenv): Ditto.
* alloc.c (GC_max, GC_min): Replace "static INLINE" with
GC_INLINE.
* mark_rts.c (rt_hash): Ditto.
* win32_threads.c (GC_get_max_thread_index): Ditto.
* include/private/gc_priv.h (INLINE): Prefix with "GC_"; include
"static"; define for Sun CC; define for VC++ (and other
compilers).
* pthread_support.c: Don't define __inline__ for non-GNU compilers
(not needed anymore).
Diffstat (limited to 'allchblk.c')
-rw-r--r-- | allchblk.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -55,10 +55,7 @@ struct hblk * GC_hblkfreelist[N_HBLK_FLS+1] = { 0 }; /* Is GC_large_allocd_bytes + the number of free bytes on lists */ /* n .. N_HBLK_FLS > GC_max_large_allocd_bytes. */ /* If there is no such n, return 0. */ -# ifdef __GNUC__ - __inline__ -# endif - static int GC_enough_large_bytes_left(void) + GC_INLINE int GC_enough_large_bytes_left(void) { int n; word bytes = GC_large_allocd_bytes; |