X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fglx_error.h;h=6a2f32aa56e510bbef756922d38ffba336a095b8;hb=e139d7a8a315502d538b6a753cb42e841c10e57f;hp=eaf6b814c5e46b4a198d1979c2ed3c1c2aea84ce;hpb=fba400072fb64dd326d35bb12a27ca17f9e03ada;p=mesa.git diff --git a/src/glx/glx_error.h b/src/glx/glx_error.h index eaf6b814c5e..6a2f32aa56e 100644 --- a/src/glx/glx_error.h +++ b/src/glx/glx_error.h @@ -26,14 +26,28 @@ promote the sale, use or other dealings in this Software without prior written authorization. */ + +#ifndef GLX_ERROR_H +#define GLX_ERROR_H + #include #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + void __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, uint_fast16_t minorCode, bool coreX11error); _X_HIDDEN void __glXSendErrorForXcb(Display * dpy, const xcb_generic_error_t *err); + +#ifdef __cplusplus +} +#endif + +#endif