]> sigrok.org Git - libsigrok.git/commit
Various errno/strerror() related fixes.
authorUwe Hermann <redacted>
Wed, 29 Jul 2015 17:31:43 +0000 (19:31 +0200)
committerUwe Hermann <redacted>
Sat, 15 Aug 2015 15:19:42 +0000 (17:19 +0200)
commit8d5228015d0f07ce6626aa52ffb80bc4129f7dbe
tree67e1cc5046378d456d85115bc9e7bb6ee7021ca8
parent6c7d80afcaf043eb8128a3102519032850fec1af
Various errno/strerror() related fixes.

 - Don't #include <errno.h> in files that don't actually need it.

 - Don't use strerror() on error codes from functions that don't set
   errno. Replace strerror() with sr_strerror() for libsigrok functions.
14 files changed:
src/hardware/agilent-dmm/api.c
src/hardware/agilent-dmm/sched.c
src/hardware/atten-pps3xxx/api.c
src/hardware/atten-pps3xxx/protocol.c
src/hardware/beaglelogic/protocol.c
src/hardware/colead-slm/api.c
src/hardware/colead-slm/protocol.c
src/hardware/conrad-digi-35-cpu/protocol.h
src/hardware/fluke-dmm/api.c
src/hardware/fluke-dmm/fluke.c
src/hardware/motech-lps-30x/api.c
src/hardware/norma-dmm/protocol.h
src/hardware/serial-dmm/api.c
src/hardware/serial-dmm/protocol.c