Fix minor issues.

This commit is contained in:
Themaister 2011-03-16 21:48:44 +01:00
parent 46c6955cfe
commit 3fa037daee
4 changed files with 9 additions and 2 deletions

View File

@ -115,7 +115,12 @@ ifneq ($(V),1)
Q := @
endif
CFLAGS += -Wall -O3 -g -std=gnu99 -I.
CFLAGS += -Wall -O3 -g -I.
ifneq ($(findstring icc,$(CC)),)
CFLAGS += -std=c99
else
CFLAGS += -std=gnu99
endif
all: $(TARGET) config.mk

View File

@ -18,6 +18,7 @@
#include <stdbool.h>
#include <string.h>
#include "general.h"
#include "shader_glsl.h"
#ifdef __APPLE__
#include <OpenGL/gl.h>

View File

@ -20,6 +20,7 @@
#define __SSNES_GLSL_H
#include <stdbool.h>
#include "gl_common.h"
bool gl_glsl_init(const char *path);

View File

@ -93,7 +93,7 @@ static struct bind binds[] = {
MISC_BIND("Pause", pause_toggle)
};
void get_binds(config_file_t *conf, int player, int joypad)
static void get_binds(config_file_t *conf, int player, int joypad)
{
if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO) < 0)
{