Skip to content
Commit 2e32e815 authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

net: fix net_tcp_state_str() declaration



The second 'const' is misguided, indicating that the returns pointer
value itself cannot be changed, but since pointers are passed by value
anyway this is not useful and was generating warnings with XCC.

The leading 'const' indicates that the memory pointed to is constant,
which is all we needed.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent d4f116ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment