voicecall: Fix implicit-function-declaration fatal error with GCC-14
PATCH 1/1 voicecall: Fix implicit-function-declaration fatal error with GCC-14
Address below issue by adding missing header:ofono-2.4/drivers/hfpmodem/voicecall.c:1081:17:
error: implicit declaration of function 'usleep'; did you mean 'g_usleep'? [-Wimplicit-function-declaration]
--- drivers/hfpmodem/voicecall.c | 1 + 1 file changed, 1 insertion(+)
drivers/hfpmodem/voicecall.c +1 -0
@@ -12,6 +12,7 @@#include <string.h> #include <stdlib.h> #include <stdio.h> +#include <unistd.h> #include <glib.h> #include <gatchat.h>
This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>:
Hello:
This patch was applied to ofono.git (master)
by Denis Kenzior <[email protected]>:
Quoted 7 lines · On Wed, 22 Jan 2025 17:43:14 +0530 you wrote:
Address below issue by adding missing header:
ofono-2.4/drivers/hfpmodem/voicecall.c:1081:17:
error: implicit declaration of function 'usleep'; did you mean 'g_usleep'? [-Wimplicit-function-declaration]--- drivers/hfpmodem/voicecall.c | 1 + 1 file changed, 1 insertion(+)
Here is the summary with links:
- voicecall: Fix implicit-function-declaration fatal error with GCC-14
https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=1545c21c6162
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html