Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pseudotalloc: Add simplistic implementation of talloc_asprintf | Pau Espin Pedrol | 2017-06-22 | 2 | -1/+17 |
| | | | | | | | | | | | 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 replacement | Harald Welte | 2017-05-17 | 3 | -0/+117 |
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 |