summaryrefslogtreecommitdiffstats
path: root/src/pseudotalloc/talloc.h
Commit message (Collapse)AuthorAgeFilesLines
* pseudotalloc: Add simplistic implementation of talloc_asprintfPau Espin Pedrol2017-06-221-1/+1
| | | | | | | | | | | fsm.c uses this function. When compiled with --enable-embedded, it triggers a warning: fsm.c: In function 'osmo_fsm_inst_alloc': fsm.c:213:4: warning: implicit declaration of function 'talloc_asprintf' [-Wimplicit-function-declaration] fi->name = talloc_asprintf(fi, "%s(%s)", fsm->name, id); Change-Id: I61cd83d4c8570af1e452c945ac6f194baf7e6ac4
* add libpseudotalloc as super-simplistic talloc replacementHarald Welte2017-05-171-0/+42
In tightly embedded builds (--enable-embedded), we want the ability to replace talloc with a very simple heap allocator to avoid the complexity of talloc without modifying all our code that assumes talloc. This will break the hierarchical notion of the allocator, but libosmo{core,gsm,coding,codec} don't rely on that anyway. Change-Id: Ie341034076f242a813f081919dd09d845775ad35