Skip to content

Commit

Permalink
[build] Fix "implicit declaration of function" compilation warning
Browse files Browse the repository at this point in the history
usb_moded_send_whitelisted_modes_signal() function is used without
including the header where the function is declared - which then
leads to compilation time warnings.

Fix the issue by adding the required #include statements.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 8, 2018
1 parent 7a2607c commit ee9b39a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usb_moded-config.c
Expand Up @@ -42,6 +42,8 @@
#include "usb_moded-log.h"
#include "usb_moded-modes.h"
#include "usb_moded-modesetting.h"
#include "usb_moded-dbus.h"
#include "usb_moded-dbus-private.h"

#ifdef USE_MER_SSU
# include "usb_moded-ssu.h"
Expand Down

0 comments on commit ee9b39a

Please sign in to comment.