X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Funi-t-dmm%2Fapi.c;h=e964279d1f1c6031a62b7f1506180a28cbe11491;hp=6f08e7359c26ca672fb35cb4043056513f8d2c61;hb=1a8639164e4e44a43fe1558e30823606f7b607b3;hpb=8852eb75d14730484e66f9e0ff2b177934615a6f diff --git a/src/hardware/uni-t-dmm/api.c b/src/hardware/uni-t-dmm/api.c index 6f08e735..e964279d 100644 --- a/src/hardware/uni-t-dmm/api.c +++ b/src/hardware/uni-t-dmm/api.c @@ -415,19 +415,19 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data) /* Driver-specific API function wrappers */ #define HW_INIT(X) \ static int init_##X(struct sr_dev_driver *di, struct sr_context *sr_ctx) { \ - (void) di; return init(sr_ctx, X); } + (void)di; return init(sr_ctx, X); } #define HW_CLEANUP(X) \ static int cleanup_##X(const struct sr_dev_driver *di) { \ - (void) di; return cleanup(X); } + (void)di; return cleanup(X); } #define HW_SCAN(X) \ static GSList *scan_##X(struct sr_dev_driver *di, GSList *options) { \ - (void) di; return scan(options, X); } + (void)di; return scan(options, X); } #define HW_DEV_LIST(X) \ static GSList *dev_list_##X(const struct sr_dev_driver *di) { \ - (void) di; return dev_list(X); } + (void)di; return dev_list(X); } #define HW_DEV_CLEAR(X) \ static int dev_clear_##X(const struct sr_dev_driver *di) { \ - (void) di; return dev_clear(X); } + (void)di; return dev_clear(X); } #define HW_DEV_ACQUISITION_START(X) \ static int dev_acquisition_start_##X(const struct sr_dev_inst *sdi, \ void *cb_data) { return dev_acquisition_start(sdi, cb_data, X); }