[OpenSIPS-Devel] [OpenSIPS/opensips] 1d261f: o Reorder includes, put system ones first, opensip...

Maksym Sobolyev noreply at github.com
Mon Jan 25 22:44:04 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d261f0a2d0b0143202b9b86fd8a24e457c26a00
      https://github.com/OpenSIPS/opensips/commit/1d261f0a2d0b0143202b9b86fd8a24e457c26a00
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M db/db_insertq.c
    M db/db_ut.c

  Log Message:
  -----------
  o Reorder includes, put system ones first, opensips core next and local
  the last, not the other way around, this fixes some weird compilation
  errors after adding assert.h into str.h.

o Add missing include time.h and define _XOPEN_SOURCE to get strptime(3)
  going on linux.

  Fixes: https://github.com/sippy/opensips/runs/1753076545?check_suite_focus=true#step:4:212


  Commit: b1343990f372ff4e99ae57c27de4d166468fc812
      https://github.com/OpenSIPS/opensips/commit/b1343990f372ff4e99ae57c27de4d166468fc812
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M str.h

  Log Message:
  -----------
  Simplify str2const() some more and make sure that type of the
str2const((const str *)x) is "const str_const *", not just
"str_const *". This prevents "promoting" const str * into
[non-const]str_const * when passing it via that macro.


Compare: https://github.com/OpenSIPS/opensips/compare/090088155b6a...b1343990f372



More information about the Devel mailing list