Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[display] Add missing local function prototypes
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Sep 11, 2019
1 parent 9d13b36 commit c2a74a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -684,13 +684,14 @@ endif
# DEVELOPMENT TIME PROTOTYPE SCANNING
# ----------------------------------------------------------------------------

.SUFFIXES: .q .p
.SUFFIXES: .q .p .g

%.q : %.c ; $(CC) -o $@ -E $< $(CPPFLAGS) $(MCE_CFLAGS)
%.p : %.q ; cproto -s < $< | sed -e 's/_Bool/bool/g' | prettyproto.py | tee $@
%.p : %.q ; cproto -s < $< | prettyproto.py | tee $@
%.g : %.q ; cproto < $< | prettyproto.py | tee $@

clean::
$(RM) -f *.[qp] modules/*.[qp] tools/*.[qp]
$(RM) -f *.[qpg] modules/*.[qpg] tools/*.[qpg]

# ----------------------------------------------------------------------------
# LOCAL RPMBUILD (copy mce.* from OBS to rpm subdir)
Expand Down
3 changes: 3 additions & 0 deletions modules/display.c
Expand Up @@ -420,6 +420,7 @@ static gpointer mdy_datapipe_display_state_filter_cb(gpointer data);
static void mdy_datapipe_display_state_curr_cb(gconstpointer data);
static void mdy_datapipe_display_state_next_cb(gconstpointer data);
static void mdy_datapipe_keyboard_slide_input_state_cb(gconstpointer const data);
static void mdy_datapipe_keyboard_available_state_cb(gconstpointer const data);
static void mdy_datapipe_display_brightness_cb(gconstpointer data);
static void mdy_datapipe_lpm_brightness_cb(gconstpointer data);
static void mdy_datapipe_display_state_req_cb(gconstpointer data);
Expand Down Expand Up @@ -895,6 +896,8 @@ static gboolean mdy_dbus_send_display_status(DBusMessage *const metho
static const char *mdy_dbus_get_reason_to_block_display_on(void);

static void mdy_dbus_handle_display_state_req(display_state_t state);
static void mdy_dbus_handle_display_state_req_cb(gpointer aptr);
static void mdy_dbus_schedule_display_state_req(DBusMessage *const msg, display_state_t state);
static gboolean mdy_dbus_handle_display_on_req(DBusMessage *const msg);
static gboolean mdy_dbus_handle_display_dim_req(DBusMessage *const msg);
static gboolean mdy_dbus_handle_display_off_req(DBusMessage *const msg);
Expand Down

0 comments on commit c2a74a1

Please sign in to comment.