]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/usb.c
Don't define names ending with _t (POSIX reserved).
[libsigrok.git] / hardware / common / usb.c
index a4845c93505500edb791a5e0fb1f347e11f37a00..62db385b273015dda825d44ddb25ff829f21a6d4 100644 (file)
@@ -210,7 +210,7 @@ static int usb_callback(int fd, int revents, void *cb_data)
 #endif
 
 SR_PRIV int usb_source_add(struct sr_context *ctx, int timeout,
-               sr_receive_data_callback_t cb, void *cb_data)
+               sr_receive_data_callback cb, void *cb_data)
 {
        if (ctx->usb_source_present) {
                sr_err("A USB event source is already present.");