From 3392790ebc367a63d9ee9237e2841a96f8fa6645 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 16 Sep 2019 11:32:36 +0200 Subject: [PATCH] example/avrcp_browsing_client.c: fix warning --- example/avrcp_browsing_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/avrcp_browsing_client.c b/example/avrcp_browsing_client.c index 0dc45fac6..ebbb9f1d8 100644 --- a/example/avrcp_browsing_client.c +++ b/example/avrcp_browsing_client.c @@ -142,11 +142,11 @@ static inline int next_index(int * index, int max_value){ return (*index); } -static int next_folder_index(){ +static int next_folder_index(void){ return next_index(&folder_index, AVRCP_BROWSING_MAX_FOLDERS); } -static int next_player_index(){ +static int next_player_index(void){ return next_index(&player_index, AVRCP_BROWSING_MAX_PLAYERS); }