From a0429e4b6e806dbbd2559062158183e2ccf86738 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 11 Jul 2012 00:33:19 +0200 Subject: [PATCH 1/2] Removed duplicate type declarations. --- src/internal.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) mode change 100644 => 100755 src/internal.h diff --git a/src/internal.h b/src/internal.h old mode 100644 new mode 100755 index 54c16d39..ccb7f402 --- a/src/internal.h +++ b/src/internal.h @@ -60,6 +60,7 @@ typedef struct _GLFWwndconfig _GLFWwndconfig; typedef struct _GLFWfbconfig _GLFWfbconfig; typedef struct _GLFWwindow _GLFWwindow; typedef struct _GLFWlibrary _GLFWlibrary; +typedef struct _GLFWmonitor _GLFWmonitor; //------------------------------------------------------------------------ @@ -76,13 +77,6 @@ typedef struct _GLFWlibrary _GLFWlibrary; // extensions and not all operating systems come with an up-to-date version #include "../support/GL/glext.h" -typedef struct _GLFWhints _GLFWhints; -typedef struct _GLFWwndconfig _GLFWwndconfig; -typedef struct _GLFWfbconfig _GLFWfbconfig; -typedef struct _GLFWwindow _GLFWwindow; -typedef struct _GLFWlibrary _GLFWlibrary; -typedef struct _GLFWmonitor _GLFWmonitor; - #if defined(_GLFW_COCOA_NSGL) #include "cocoa_platform.h" #elif defined(_GLFW_WIN32_WGL) From bd630c4e8382420be228adff983d2708f2049c04 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 11 Jul 2012 00:33:32 +0200 Subject: [PATCH 2/2] Added missing newline. --- tests/modes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/modes.c diff --git a/tests/modes.c b/tests/modes.c old mode 100644 new mode 100755 index c961d0ce..07c07f2a --- a/tests/modes.c +++ b/tests/modes.c @@ -154,7 +154,7 @@ static void test_modes(GLFWmonitor monitor) glfwOpenWindowHint(GLFW_GREEN_BITS, mode->greenBits); glfwOpenWindowHint(GLFW_BLUE_BITS, mode->blueBits); - printf("Testing mode %u on monitor %s: %s", + printf("Testing mode %u on monitor %s: %s\n", (unsigned int) i, glfwGetMonitorString(monitor, GLFW_MONITOR_NAME), format_mode(mode));