[sr-dev] git:master:970fc2ac: core: remove the SHM_MEM #define, the core will not even compile without it

Henning Westerholt hw at kamailio.org
Wed Dec 26 21:37:36 CET 2018


Module: kamailio
Branch: master
Commit: 970fc2ac73fb38b22d5a5acd3e326fb97b97f6af
URL: https://github.com/kamailio/kamailio/commit/970fc2ac73fb38b22d5a5acd3e326fb97b97f6af

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-12-26T20:22:51+01:00

core: remove the SHM_MEM #define, the core will not even compile without it
- remove the SHM_MEM #define, the purpose of this was to allow the compilation
  without SHM memory pool support
- this did not worked for a long time, the core will not even compile without
  it (no locking, broken timer etc..). Additionally many modules need it.
- remove 50 ifdef/endif blocks, no functional changes done

---

Modified: src/core/cfg.y
Modified: src/core/cfg_core.c
Modified: src/core/cfg_core.h
Modified: src/core/lock_alloc.h
Modified: src/core/mem/mem.c
Modified: src/core/mem/shm_mem.c
Modified: src/core/mem/shm_mem.h
Modified: src/core/pt.c
Modified: src/core/pt.h
Modified: src/core/shm_init.c
Modified: src/core/timer.c
Modified: src/core/ut.h
Modified: src/core/ver_defs.h

---

Diff:  https://github.com/kamailio/kamailio/commit/970fc2ac73fb38b22d5a5acd3e326fb97b97f6af.diff
Patch: https://github.com/kamailio/kamailio/commit/970fc2ac73fb38b22d5a5acd3e326fb97b97f6af.patch




More information about the sr-dev mailing list