mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
Should compile now with MISSING_DECLS = 1
This commit is contained in:
parent
bc309879d4
commit
73d599dc83
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
HAVE_FILE_LOGGER=1
|
HAVE_FILE_LOGGER=1
|
||||||
MISSING_DECLS=0
|
MISSING_DECLS =0
|
||||||
|
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
|
@ -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; }
|
STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; }
|
||||||
#endif
|
#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_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; }
|
||||||
STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; }
|
STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; }
|
||||||
|
|
||||||
|
@ -30,6 +30,9 @@
|
|||||||
#include "../../gfx/video_viewport.h"
|
#include "../../gfx/video_viewport.h"
|
||||||
#include "../../general.h"
|
#include "../../general.h"
|
||||||
|
|
||||||
|
/* forward declarations */
|
||||||
|
void x_input_poll_wheel(void *data, XButtonEvent *event, bool latch);
|
||||||
|
|
||||||
typedef struct x11_input
|
typedef struct x11_input
|
||||||
{
|
{
|
||||||
bool blocked;
|
bool blocked;
|
||||||
|
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
#include "../input_keymaps.h"
|
#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)
|
static INLINE unsigned leading_ones(uint8_t c)
|
||||||
{
|
{
|
||||||
unsigned ones = 0;
|
unsigned ones = 0;
|
||||||
|
@ -22,6 +22,13 @@
|
|||||||
|
|
||||||
#define MOD_MAP_SIZE 5
|
#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.
|
/* FIXME: Don't handle composed and dead-keys properly.
|
||||||
* Waiting for support in libxkbcommon ... */
|
* Waiting for support in libxkbcommon ... */
|
||||||
void handle_xkb(
|
void handle_xkb(
|
||||||
|
@ -27,6 +27,10 @@
|
|||||||
#include "../../general.h"
|
#include "../../general.h"
|
||||||
#include "../../file_ext.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)
|
static int deferred_push_core_information(menu_displaylist_info_t *info)
|
||||||
{
|
{
|
||||||
return menu_displaylist_push_list(info, DISPLAYLIST_CORE_INFO);
|
return menu_displaylist_push_list(info, DISPLAYLIST_CORE_INFO);
|
||||||
|
@ -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);
|
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)
|
uint32_t hash)
|
||||||
{
|
{
|
||||||
switch (hash)
|
switch (hash)
|
||||||
|
@ -1813,7 +1813,7 @@ static rarch_setting_t setting_bind_setting(const char* name,
|
|||||||
*
|
*
|
||||||
* Returns: String setting of type @type.
|
* 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,
|
const char* name, const char* short_description, char* target,
|
||||||
unsigned size, const char* default_value, const char *empty,
|
unsigned size, const char* default_value, const char *empty,
|
||||||
const char *group, const char *subgroup, const char *parent_group,
|
const char *group, const char *subgroup, const char *parent_group,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user