treewide: sec: Address clang-17 build warnings
Change-Id: I3f29a36cfc89fbb9ecc4b4bfbf5c05eac4408dd4
This commit is contained in:
@@ -16674,7 +16674,7 @@ static void hdd_driver_unload(void)
|
||||
}
|
||||
|
||||
#if defined (SEC_CONFIG_PSM_SYSFS)
|
||||
int wlan_hdd_sec_get_psm()
|
||||
int wlan_hdd_sec_get_psm(void)
|
||||
{
|
||||
int psm = 0;
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ int is_root(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int is_current_adbd() {
|
||||
int is_current_adbd(void) {
|
||||
DEK_LOGD("current->comm : %s\n", current->comm);
|
||||
#if 1
|
||||
if(is_root()) {
|
||||
@@ -118,7 +118,7 @@ int is_current_adbd() {
|
||||
#endif
|
||||
}
|
||||
|
||||
int is_current_epmd() {
|
||||
int is_current_epmd(void) {
|
||||
DEK_LOGD("current->comm : %s\n", current->comm);
|
||||
#if 1
|
||||
if(is_root()) {
|
||||
|
||||
Reference in New Issue
Block a user