gallium: Surround externs with extern "C".
[mesa.git] / src / gallium / auxiliary / pipebuffer / pb_bufmgr.h
index 1ddf784c9781636b1ef48c1ac5747e2989de1229..0cf8e92e377ef268bfe4371280b01dd5f273528e 100644 (file)
@@ -43,7 +43,7 @@
  * - the fenced buffer manager, which will delay buffer destruction until the 
  * the moment the card finishing processing it. 
  * 
- * \author José Fonseca <jrfonseca@tungstengraphics.com>
+ * \author José Fonseca <jrfonseca@tungstengraphics.com>
  */
 
 #ifndef PB_BUFMGR_H_
 #include <stddef.h>
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 struct pb_desc;
 struct pipe_buffer;
 struct pipe_winsys;
@@ -123,4 +128,8 @@ fenced_bufmgr_create(struct pb_manager *provider,
                      struct pipe_winsys *winsys);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /*PB_BUFMGR_H_*/