Alloc takes no arguments

This commit is contained in:
Astra 2024-04-23 11:00:37 +09:00
parent fb018ec170
commit 2987a46322
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ const NfcDeviceBase nfc_device_mf_plus = {
.get_base_data = (NfcDeviceGetBaseData)mf_plus_get_base_data,
};
MfPlusData* mf_plus_alloc() {
MfPlusData* mf_plus_alloc(void) {
MfPlusData* data = malloc(sizeof(MfPlusData));
data->device_name = furi_string_alloc();
data->iso14443_4a_data = iso14443_4a_alloc();

View File

@ -88,7 +88,7 @@ typedef struct {
extern const NfcDeviceBase nfc_device_mf_plus;
MfPlusData* mf_plus_alloc();
MfPlusData* mf_plus_alloc(void);
void mf_plus_free(MfPlusData* data);