commit | 2e32e815babb1a9dea747926ab9e49a1b460b749 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Aug 14 13:46:52 2017 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed Aug 16 10:59:10 2017 -0700 |
tree | 2d50d1f9f025162e90624a44bfc02c6fdd345f6e | |
parent | d4f116ffde0120a0d82508339820e8a36f3cf8c5 [diff] |
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: Andrew Boie <andrew.p.boie@intel.com>