Fix function signature to match callback type.

This CL fixes the nfc_task() function signature to match the
definition of TASKPTR (which it is cast to).

Bug: 30227045
Test: CFI does not crash when enabled for CFI
Change-Id: I27b95b87775dc94a4e7ba807f409c7ef402531d3
diff --git a/src/nfc/include/nfc_int.h b/src/nfc/include/nfc_int.h
index 2144f6f..592b23d 100644
--- a/src/nfc/include/nfc_int.h
+++ b/src/nfc/include/nfc_int.h
@@ -296,7 +296,7 @@
 #endif
 
 /* From nfc_task.c */
-extern uint32_t nfc_task();
+extern uint32_t nfc_task(uint32_t);
 void nfc_task_shutdown_nfcc(void);
 
 /* From nfc_main.c */
diff --git a/src/nfc/nfc/nfc_task.cc b/src/nfc/nfc/nfc_task.cc
index 7a4c91d..f9d2948 100644
--- a/src/nfc/nfc/nfc_task.cc
+++ b/src/nfc/nfc/nfc_task.cc
@@ -329,7 +329,7 @@
 ** Returns          nothing
 **
 *******************************************************************************/
-uint32_t nfc_task() {
+uint32_t nfc_task(__attribute__((unused)) uint32_t arg) {
   uint16_t event;
   NFC_HDR* p_msg;
   bool free_buf;