Fix various warnings reported by gcc

Shadowed variables, const warnings
This commit is contained in:
Lambert Clara
2012-08-12 13:24:21 +02:00
parent c8c36f6ec0
commit c2729181a2
9 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ void _glfwInitJoysticks(void)
{
#ifdef _GLFW_USE_LINUX_JOYSTICKS
int k, n, fd, joy_count;
char* joy_base_name;
const char* joy_base_name;
char joy_dev_name[20];
int driver_version = 0x000800;
char ret_data;