diff options
-rw-r--r-- | hal/acdb.h | 4 | ||||
-rw-r--r-- | hal/audio_extn/a2dp.c | 2 | ||||
-rw-r--r-- | hal/audio_extn/audio_extn.c | 4 | ||||
-rw-r--r-- | hal/audio_extn/battery_listener.h | 6 |
4 files changed, 8 insertions, 8 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2021, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2013 The Android Open Source Project @@ -41,7 +41,7 @@ enum { struct mixer; /* Audio calibration related functions */ -typedef void (*acdb_deallocate_t)(); +typedef void (*acdb_deallocate_t)(void); typedef int (*acdb_init_t)(); typedef int (*acdb_init_v2_t)(const char *, char *, int); typedef int (*acdb_init_v3_t)(const char *, char *, struct listnode *); diff --git a/hal/audio_extn/a2dp.c b/hal/audio_extn/a2dp.c index cade8cdb..e960c6ad 100644 --- a/hal/audio_extn/a2dp.c +++ b/hal/audio_extn/a2dp.c @@ -155,7 +155,7 @@ static void *vndk_fwk_lib_handle = NULL; static int is_running_with_enhanced_fwk = UNINITIALIZED; -typedef int (*vndk_fwk_isVendorEnhancedFwk_t)(); +typedef int (*vndk_fwk_isVendorEnhancedFwk_t)(void); static vndk_fwk_isVendorEnhancedFwk_t vndk_fwk_isVendorEnhancedFwk; /* diff --git a/hal/audio_extn/audio_extn.c b/hal/audio_extn/audio_extn.c index 3fdeb9b5..629e2e35 100644 --- a/hal/audio_extn/audio_extn.c +++ b/hal/audio_extn/audio_extn.c @@ -5573,10 +5573,10 @@ static void *batt_listener_lib_handle = NULL; typedef void (*batt_listener_init_t)(battery_status_change_fn_t); static batt_listener_init_t batt_listener_init; -typedef void (*batt_listener_deinit_t)(); +typedef void (*batt_listener_deinit_t)(void); static batt_listener_deinit_t batt_listener_deinit; -typedef bool (*batt_prop_is_charging_t)(); +typedef bool (*batt_prop_is_charging_t)(void); static batt_prop_is_charging_t batt_prop_is_charging; void battery_listener_feature_init(bool is_feature_enabled) diff --git a/hal/audio_extn/battery_listener.h b/hal/audio_extn/battery_listener.h index a34b3581..5bf17788 100644 --- a/hal/audio_extn/battery_listener.h +++ b/hal/audio_extn/battery_listener.h @@ -1,5 +1,5 @@ /* -* Copyright (c) 2019, The Linux Foundation. All rights reserved. +* Copyright (c) 2019, 2021 The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -31,8 +31,8 @@ extern "C" { #endif typedef void (* battery_status_change_fn_t)(bool); void battery_properties_listener_init(battery_status_change_fn_t fn); -void battery_properties_listener_deinit(); -bool battery_properties_is_charging(); +void battery_properties_listener_deinit(void); +bool battery_properties_is_charging(void); #ifdef __cplusplus } #endif |