Changeset 2039 in kBuild
- Timestamp:
- Nov 3, 2008 12:00:24 PM (16 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/make.h
r1993 r2039 604 604 /* Free an item. */ 605 605 MY_INLINE void 606 alloccache_free (struct alloccache *cache, void *item)606 alloccache_free (struct alloccache *cache, void volatile *item) 607 607 { 608 608 struct alloccache_free_ent *f = (struct alloccache_free_ent *)item; -
trunk/src/kmk/read.c
r2038 r2039 4048 4048 #ifndef CONFIG_WITH_ALLOC_CACHES 4049 4049 struct nameseq *elt = xmalloc (size); 4050 #else4051 struct nameseq *elt = alloccache_alloc (cache);4052 #endif4053 4050 memset (elt, '\0', size); 4051 #else 4052 struct nameseq *elt = alloccache_calloc (cache); 4053 #endif 4054 4054 elt->name = strcache_add (gl.gl_pathv[i]); 4055 4055 elt->next = new;
Note:
See TracChangeset
for help on using the changeset viewer.