summaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2015-05-13 14:22:57 -0400
committerAlexander von Gluck IV <kallisti5@unixzen.com>2015-05-13 15:26:29 -0400
commitcf71e7093c301a1d3dc3e19d88d44a043ccadc7d (patch)
tree025bcd20cfd49bfb8a494e58bd4157eff276acdf /src/hgl
parentd27b114eaf75b1a61cc9600eed1b9cde352d8409 (diff)
downloadexternal_mesa3d-cf71e7093c301a1d3dc3e19d88d44a043ccadc7d.zip
external_mesa3d-cf71e7093c301a1d3dc3e19d88d44a043ccadc7d.tar.gz
external_mesa3d-cf71e7093c301a1d3dc3e19d88d44a043ccadc7d.tar.bz2
glapi/hgl: Drop extern "C" as it was added to glapi
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/hgl')
-rw-r--r--src/hgl/GLDispatcher.cpp5
-rw-r--r--src/hgl/GLDispatcher.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/hgl/GLDispatcher.cpp b/src/hgl/GLDispatcher.cpp
index 46b91d5..a1e9053 100644
--- a/src/hgl/GLDispatcher.cpp
+++ b/src/hgl/GLDispatcher.cpp
@@ -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:
@@ -10,10 +10,11 @@
*/
-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).
diff --git a/src/hgl/GLDispatcher.h b/src/hgl/GLDispatcher.h
index 44bca8c..7ee095d 100644
--- a/src/hgl/GLDispatcher.h
+++ b/src/hgl/GLDispatcher.h
@@ -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