Skip to content

Commit 73ca3f2

Browse files
committed
voids just in case
1 parent 21b2c18 commit 73ca3f2

8 files changed

+8
-8
lines changed

helpers/subrem_presets.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#define TAG "SubRemPresets"
44

5-
SubRemSubFilePreset* subrem_sub_file_preset_alloc() {
5+
SubRemSubFilePreset* subrem_sub_file_preset_alloc(void) {
66
SubRemSubFilePreset* sub_preset = malloc(sizeof(SubRemSubFilePreset));
77

88
sub_preset->fff_data = flipper_format_string_alloc();

helpers/subrem_presets.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef struct {
2727
SubRemSubFilePreset* subs_preset[SubRemSubKeyNameMaxCount];
2828
} SubRemMapPreset;
2929

30-
SubRemSubFilePreset* subrem_sub_file_preset_alloc();
30+
SubRemSubFilePreset* subrem_sub_file_preset_alloc(void);
3131

3232
void subrem_sub_file_preset_free(SubRemSubFilePreset* sub_preset);
3333

helpers/txrx/subghz_txrx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static void subghz_txrx_radio_device_power_off(SubGhzTxRx* instance) {
2525
if(furi_hal_power_is_otg_enabled()) furi_hal_power_disable_otg();
2626
}
2727

28-
SubGhzTxRx* subghz_txrx_alloc() {
28+
SubGhzTxRx* subghz_txrx_alloc(void) {
2929
SubGhzTxRx* instance = malloc(sizeof(SubGhzTxRx));
3030
instance->setting = subghz_setting_alloc();
3131
subghz_setting_load(instance->setting, EXT_PATH("subghz/assets/setting_user"));

helpers/txrx/subghz_txrx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ typedef enum {
5353
*
5454
* @return SubGhzTxRx* pointer to SubGhzTxRx
5555
*/
56-
SubGhzTxRx* subghz_txrx_alloc();
56+
SubGhzTxRx* subghz_txrx_alloc(void);
5757

5858
/**
5959
* Free SubGhzTxRx

views/edit_menu.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void subrem_view_edit_menu_exit(void* context) {
242242
furi_assert(context);
243243
}
244244

245-
SubRemViewEditMenu* subrem_view_edit_menu_alloc() {
245+
SubRemViewEditMenu* subrem_view_edit_menu_alloc(void) {
246246
SubRemViewEditMenu* subrem_view_edit_menu = malloc(sizeof(SubRemViewEditMenu));
247247

248248
// View allocation and configuration

views/edit_menu.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void subrem_view_edit_menu_set_callback(
1313
SubRemViewEditMenuCallback callback,
1414
void* context);
1515

16-
SubRemViewEditMenu* subrem_view_edit_menu_alloc();
16+
SubRemViewEditMenu* subrem_view_edit_menu_alloc(void);
1717

1818
void subrem_view_edit_menu_free(SubRemViewEditMenu* subrem_view_edit_menu);
1919

views/remote.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void subrem_view_remote_exit(void* context) {
269269
furi_assert(context);
270270
}
271271

272-
SubRemViewRemote* subrem_view_remote_alloc() {
272+
SubRemViewRemote* subrem_view_remote_alloc(void) {
273273
SubRemViewRemote* subrem_view_remote = malloc(sizeof(SubRemViewRemote));
274274

275275
// View allocation and configuration

views/remote.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void subrem_view_remote_set_callback(
2020
SubRemViewRemoteCallback callback,
2121
void* context);
2222

23-
SubRemViewRemote* subrem_view_remote_alloc();
23+
SubRemViewRemote* subrem_view_remote_alloc(void);
2424

2525
void subrem_view_remote_free(SubRemViewRemote* subrem_view_remote);
2626

0 commit comments

Comments
 (0)