diff --git a/src/main.c b/src/main.c index d83256e..2990729 100644 --- a/src/main.c +++ b/src/main.c @@ -4,6 +4,7 @@ * Copyright (C) 1999,2000,2001,2002 Andreas Bombe * 2001, 2002 Manfred Weihs * 2002 Christian Toegel + * Copyright (C) 2022 Peter McGoron * * This library is licensed under the GNU Lesser General Public License (LGPL), * version 2.1 or later. See the file COPYING.LIB in the distribution for @@ -55,23 +56,24 @@ static int tag_handler_default(struct raw1394_handle *handle, unsigned long tag, } } -static int arm_tag_handler_default(struct raw1394_handle *handle, unsigned long tag, - byte_t request_type, unsigned int requested_length, - void *data) +/* do nothing */ +static int arm_tag_handler_default( + raw1394handle_t handle, raw1394_arm_allocation_t *arm, + int tcode, unsigned long long offset, int source_node_id, + int card, unsigned kernel_handle, size_t length, void *data +) { - struct raw1394_arm_reqhandle *rh; - struct raw1394_arm_request_response *arm_req_resp; - - if (tag) { - rh = (struct raw1394_arm_reqhandle *)tag; - arm_req_resp = (struct raw1394_arm_request_response *) data; - return rh->arm_callback(handle, arm_req_resp, - requested_length, rh->pcontext, - request_type); - } else { - /* error ... */ - return -1; - } + (void)handle; + (void)arm; + (void)tcode; + (void)offset; + (void)source_node_id; + (void)card; + (void)kernel_handle; + (void)length; + (void)data; + + return 0; } int _raw1394_sync_cb(struct raw1394_handle *unused, struct sync_cb_data *data,