]> sigrok.org Git - libsigrok.git/commit
sw_limits: add const for limits param for config_get
authorGerhard Sittig <redacted>
Mon, 3 Aug 2020 15:48:38 +0000 (17:48 +0200)
committerGerhard Sittig <redacted>
Mon, 3 Aug 2020 15:53:11 +0000 (17:53 +0200)
commitd579755a662c7516cf70a38c36e3266e7bdb3ee8
tree7bc0160d780632ce658b793f582b663f91c94786
parent0dc27cd1dbc961366d14607526e54992078e9d5c
sw_limits: add const for limits param for config_get

The sr_sw_limits_config_get() routine exclusively reads the 'limits'
parameter, need not write to it. Add the 'const' attribute.
src/libsigrok-internal.h
src/sw_limits.c