ConnMan network manager
 help / color / mirror / Atom feed
* [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr
@ 2026-02-12 13:25 Rudi Heitbaum
  2026-02-13 21:05 ` Marcel Holtmann
  2026-02-13 21:10 ` patchwork-bot+connman
  0 siblings, 2 replies; 3+ messages in thread
From: Rudi Heitbaum @ 2026-02-12 13:25 UTC (permalink / raw)
  To: connman; +Cc: rudi

When compiling with recent gcc and glibc-2.43 the --Wdiscarded-qualifiers
warning occurs because with ISO C23, the functions strrrchr qnd memchr
return pointers into their input arrays now have definitions as macros
that return a pointer to a const-qualified type when the input argument
is a pointer to a const-qualified type.

Rudi Heitbaum (5):
  vpn: Fix issue with const return value from strrchr
  vpn-provider: Fix issue with const return value from strrchr
  gweb: Fix issue with const return value from memchr
  dundee: Fix issue with const return value from strrchr
  ofono: Fix issue with const return value from strrchr

 gweb/gweb.c        | 4 ++--
 plugins/dundee.c   | 4 ++--
 plugins/ofono.c    | 4 ++--
 plugins/vpn.c      | 8 ++++----
 vpn/vpn-provider.c | 6 +++---
 5 files changed, 13 insertions(+), 13 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-13 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12 13:25 [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr Rudi Heitbaum
2026-02-13 21:05 ` Marcel Holtmann
2026-02-13 21:10 ` patchwork-bot+connman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox