File tree 8 files changed +8
-8
lines changed
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
#define TAG "SubRemPresets"
4
4
5
- SubRemSubFilePreset * subrem_sub_file_preset_alloc () {
5
+ SubRemSubFilePreset * subrem_sub_file_preset_alloc (void ) {
6
6
SubRemSubFilePreset * sub_preset = malloc (sizeof (SubRemSubFilePreset ));
7
7
8
8
sub_preset -> fff_data = flipper_format_string_alloc ();
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ typedef struct {
27
27
SubRemSubFilePreset * subs_preset [SubRemSubKeyNameMaxCount ];
28
28
} SubRemMapPreset ;
29
29
30
- SubRemSubFilePreset * subrem_sub_file_preset_alloc ();
30
+ SubRemSubFilePreset * subrem_sub_file_preset_alloc (void );
31
31
32
32
void subrem_sub_file_preset_free (SubRemSubFilePreset * sub_preset );
33
33
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ static void subghz_txrx_radio_device_power_off(SubGhzTxRx* instance) {
25
25
if (furi_hal_power_is_otg_enabled ()) furi_hal_power_disable_otg ();
26
26
}
27
27
28
- SubGhzTxRx * subghz_txrx_alloc () {
28
+ SubGhzTxRx * subghz_txrx_alloc (void ) {
29
29
SubGhzTxRx * instance = malloc (sizeof (SubGhzTxRx ));
30
30
instance -> setting = subghz_setting_alloc ();
31
31
subghz_setting_load (instance -> setting , EXT_PATH ("subghz/assets/setting_user" ));
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ typedef enum {
53
53
*
54
54
* @return SubGhzTxRx* pointer to SubGhzTxRx
55
55
*/
56
- SubGhzTxRx * subghz_txrx_alloc ();
56
+ SubGhzTxRx * subghz_txrx_alloc (void );
57
57
58
58
/**
59
59
* Free SubGhzTxRx
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ void subrem_view_edit_menu_exit(void* context) {
242
242
furi_assert (context );
243
243
}
244
244
245
- SubRemViewEditMenu * subrem_view_edit_menu_alloc () {
245
+ SubRemViewEditMenu * subrem_view_edit_menu_alloc (void ) {
246
246
SubRemViewEditMenu * subrem_view_edit_menu = malloc (sizeof (SubRemViewEditMenu ));
247
247
248
248
// View allocation and configuration
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ void subrem_view_edit_menu_set_callback(
13
13
SubRemViewEditMenuCallback callback ,
14
14
void * context );
15
15
16
- SubRemViewEditMenu * subrem_view_edit_menu_alloc ();
16
+ SubRemViewEditMenu * subrem_view_edit_menu_alloc (void );
17
17
18
18
void subrem_view_edit_menu_free (SubRemViewEditMenu * subrem_view_edit_menu );
19
19
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ void subrem_view_remote_exit(void* context) {
269
269
furi_assert (context );
270
270
}
271
271
272
- SubRemViewRemote * subrem_view_remote_alloc () {
272
+ SubRemViewRemote * subrem_view_remote_alloc (void ) {
273
273
SubRemViewRemote * subrem_view_remote = malloc (sizeof (SubRemViewRemote ));
274
274
275
275
// View allocation and configuration
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ void subrem_view_remote_set_callback(
20
20
SubRemViewRemoteCallback callback ,
21
21
void * context );
22
22
23
- SubRemViewRemote * subrem_view_remote_alloc ();
23
+ SubRemViewRemote * subrem_view_remote_alloc (void );
24
24
25
25
void subrem_view_remote_free (SubRemViewRemote * subrem_view_remote );
26
26
You can’t perform that action at this time.
0 commit comments