Formatting pass (no code changes).

This commit is contained in:
Camilla Berglund 2010-09-08 15:58:43 +02:00
parent a04e041a6b
commit a4d888c2f5
10 changed files with 80 additions and 77 deletions

View File

@ -87,7 +87,8 @@ int _glfwStringInExtensionString(const char *string,
const GLubyte* extensions) const GLubyte* extensions)
{ {
const GLubyte* start; const GLubyte* start;
GLubyte *where, *terminator; GLubyte* where;
GLubyte* terminator;
// It takes a bit of care to be fool-proof about parsing the // It takes a bit of care to be fool-proof about parsing the
// OpenGL extensions string. Don't be fooled by sub-strings, // OpenGL extensions string. Don't be fooled by sub-strings,

View File

@ -348,7 +348,8 @@ int _glfwPlatformGetVideoModes(GLFWvidmode *list, int maxcount)
int count, k, l, r, g, b, rgba, gl; int count, k, l, r, g, b, rgba, gl;
int depth, screen; int depth, screen;
Display* dpy; Display* dpy;
XVisualInfo *vislist, dummy; XVisualInfo* vislist;
XVisualInfo dummy;
int viscount, rgbcount, rescount; int viscount, rgbcount, rescount;
int* rgbarray; int* rgbarray;
struct _glfwResolution* resarray; struct _glfwResolution* resarray;

View File

@ -81,7 +81,8 @@ void _glfwInitJoysticks(void)
{ {
#ifdef _GLFW_USE_LINUX_JOYSTICKS #ifdef _GLFW_USE_LINUX_JOYSTICKS
int k, n, fd, joy_count; int k, n, fd, joy_count;
char *joy_base_name, joy_dev_name[20]; char* joy_base_name;
char joy_dev_name[20];
int driver_version = 0x000800; int driver_version = 0x000800;
char ret_data; char ret_data;
#endif // _GLFW_USE_LINUX_JOYSTICKS #endif // _GLFW_USE_LINUX_JOYSTICKS