glapi/hgl: Drop extern "C" as it was added to glapi
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Wed, 13 May 2015 18:22:57 +0000 (14:22 -0400)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Wed, 13 May 2015 19:26:29 +0000 (15:26 -0400)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/hgl/GLDispatcher.cpp
src/hgl/GLDispatcher.h

index 46b91d57c4990a3c8e2c3e231d7e313a2a51ccb0..a1e9053617c916d346adbc5808c95218e6172615 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
- * Copyright 2000-2012 Haiku, Inc. All Rights Reserved.
+ * Copyright 2000-2015 Haiku, Inc. All Rights Reserved.
  * Distributed under the terms of the MIT License.
  *
  * Authors:
  */
 
 
-extern "C" {
 #include "glapi/glapi.h"
 #include "glapi/glapi_priv.h"
 
+
+extern "C" {
 /*
  * NOTE: this file portion implements C-based dispatch of the OpenGL entrypoints
  * (glAccum, glBegin, etc).
index 44bca8ce5863ca435b7c0f6a8367ec2b1d2403a6..7ee095d917b75dcdc0f0a76c19813c8dd6330e3d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
- * Copyright 2000-2012 Haiku, Inc. All Rights Reserved.
+ * Copyright 2000-2015 Haiku, Inc. All Rights Reserved.
  * Distributed under the terms of the MIT License.
  *
  * Authors:
@@ -17,9 +17,7 @@
 
 #include "glheader.h"
 
-extern "C" {
 #include "glapi/glapi.h"
-}
 
 
 class BGLDispatcher