Should compile now with MISSING_DECLS = 1

This commit is contained in:
twinaphex 2015-09-06 15:12:32 +02:00
parent bc309879d4
commit 73d599dc83
8 changed files with 24 additions and 3 deletions

View File

@ -1,5 +1,5 @@
HAVE_FILE_LOGGER=1
MISSING_DECLS=0
MISSING_DECLS =0
include config.mk

View File

@ -1179,6 +1179,10 @@ STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; }
STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; }
#endif
/* forward declarations */
STBIDEF void stbi_hdr_to_ldr_gamma(float gamma);
STBIDEF void stbi_hdr_to_ldr_scale(float scale);
STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; }
STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; }

View File

@ -30,6 +30,9 @@
#include "../../gfx/video_viewport.h"
#include "../../general.h"
/* forward declarations */
void x_input_poll_wheel(void *data, XButtonEvent *event, bool latch);
typedef struct x11_input
{
bool blocked;

View File

@ -27,6 +27,9 @@
#include "../input_keymaps.h"
/* forward declarations */
void x11_handle_key_event(XEvent *event, XIC ic, bool filter);
static INLINE unsigned leading_ones(uint8_t c)
{
unsigned ones = 0;

View File

@ -22,6 +22,13 @@
#define MOD_MAP_SIZE 5
/* forward declarations */
void handle_xkb(
struct xkb_state *xkb_state,
xkb_mod_index_t *mod_map_idx,
uint16_t *mod_map_bit,
int code, int value);
/* FIXME: Don't handle composed and dead-keys properly.
* Waiting for support in libxkbcommon ... */
void handle_xkb(

View File

@ -27,6 +27,10 @@
#include "../../general.h"
#include "../../file_ext.h"
/* foward declarations */
int cb_core_updater_list(void *data_, size_t len);
int cb_core_content_list(void *data_, size_t len);
static int deferred_push_core_information(menu_displaylist_info_t *info)
{
return menu_displaylist_push_list(info, DISPLAYLIST_CORE_INFO);

View File

@ -288,7 +288,7 @@ static int action_start_lookup_setting(unsigned type, const char *label)
return menu_setting_set(type, label, MENU_ACTION_START, false);
}
int menu_cbs_init_bind_start_compare_label(menu_file_list_cbs_t *cbs,
static int menu_cbs_init_bind_start_compare_label(menu_file_list_cbs_t *cbs,
uint32_t hash)
{
switch (hash)

View File

@ -1813,7 +1813,7 @@ static rarch_setting_t setting_bind_setting(const char* name,
*
* Returns: String setting of type @type.
**/
rarch_setting_t setting_string_setting(enum setting_type type,
static rarch_setting_t setting_string_setting(enum setting_type type,
const char* name, const char* short_description, char* target,
unsigned size, const char* default_value, const char *empty,
const char *group, const char *subgroup, const char *parent_group,