[OpenSIPS-Devel] [OpenSIPS/opensips] 8d5d21: Fix function type mismatch

Bogdan Andrei IANCU noreply at github.com
Tue Aug 26 14:12:51 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d5d213ac5900a43dfa8ac8538c3d9efbc1f2ec4
      https://github.com/OpenSIPS/opensips/commit/8d5d213ac5900a43dfa8ac8538c3d9efbc1f2ec4
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M modules/auth_jwt/authorize.h

  Log Message:
  -----------
  Fix function type mismatch

Now it matches the documentation.

```
authorize.h:31:5: warning: type of ‘jwt_db_authorize’ does not match original declaration [-Wlto-type-mismatch]
   31 | int jwt_db_authorize(struct sip_msg* _msg, str* jwt_token, pv_spec_t* auth_user);
      |     ^
authorize.c:56:5: note: type mismatch in parameter 4
   56 | int jwt_db_authorize(struct sip_msg* _msg, str* jwt_token,
      |     ^
authorize.c:56:5: note: ‘jwt_db_authorize’ was previously declared here
```

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: 7b787f84951a46f5f5dd95d8a0bc18e035f86cb6
      https://github.com/OpenSIPS/opensips/commit/7b787f84951a46f5f5dd95d8a0bc18e035f86cb6
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M modules/domain/domain.h

  Log Message:
  -----------
  Fix function type mismatch

Now it matches the documentation.

```
domain.h:41:5: warning: type of ‘is_uri_host_local’ does not match original declaration [-Wlto-type-mismatch]
   41 | int is_uri_host_local(struct sip_msg* _msg, char* _s1, char* _s2);
      |     ^
domain.c:235:5: note: type mismatch in parameter 3
  235 | int is_uri_host_local(struct sip_msg* _msg, pv_spec_t* _s1)
      |     ^
domain.c:235:5: note: ‘is_uri_host_local’ was previously declared here
domain.h:35:5: warning: type of ‘is_from_local’ does not match original declaration [-Wlto-type-mismatch]
   35 | int is_from_local(struct sip_msg* _msg, char* _s1, char* _s2);
      |     ^
domain.c:219:5: note: type mismatch in parameter 3
  219 | int is_from_local(struct sip_msg* _msg, pv_spec_t* _s1)
      |     ^
domain.c:219:5: note: ‘is_from_local’ was previously declared here
```

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: aae9a1e746fc9911fceb8d714ba2c206362cdde0
      https://github.com/OpenSIPS/opensips/commit/aae9a1e746fc9911fceb8d714ba2c206362cdde0
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  Fix variable type mismatch

```
ebr_data.c:53:12: warning: type of ‘ebr_ipc_type’ does not match original declaration [-Wlto-type-mismatch]
   53 | extern int ebr_ipc_type;
      |            ^
event_routing.c:65:18: note: type ‘ipc_handler_type’ should match type ‘int’
   65 | ipc_handler_type ebr_ipc_type;
      |                  ^
event_routing.c:65:18: note: ‘ebr_ipc_type’ was previously declared here
event_routing.c:65:18: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
```

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: be32acabdff83d3899fafd2e33b707719f94365d
      https://github.com/OpenSIPS/opensips/commit/be32acabdff83d3899fafd2e33b707719f94365d
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M modules/auth_jwt/authorize.h
    M modules/domain/domain.h
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  Merge pull request #3693 from lemenkov/type_mismatch

Fix various function or variable type mismatch


Compare: https://github.com/OpenSIPS/opensips/compare/5a986df0d0e0...be32acabdff8

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list