X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fegl%2Fmain%2Fegllog.h;h=2a06a34684a4d4ca74cb10ff93c23749e306b5d2;hb=30ecd869471722db6cb693aaaa75120a4dfe7837;hp=12a477ee05434403802e8377d922df3f2be90b43;hpb=dd438ae34bdbaa6651cdd226d5fec15a892923bf;p=mesa.git diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h index 12a477ee054..2a06a34684a 100644 --- a/src/egl/main/egllog.h +++ b/src/egl/main/egllog.h @@ -34,25 +34,22 @@ #include "egltypedefs.h" +#ifdef __cplusplus +extern "C" { +#endif + #define _EGL_FATAL 0 /* unrecoverable error */ #define _EGL_WARNING 1 /* recoverable error/problem */ #define _EGL_INFO 2 /* just useful info */ #define _EGL_DEBUG 3 /* useful info for debugging */ -typedef void (*_EGLLogProc)(EGLint level, const char *msg); - - -extern void -_eglSetLogProc(_EGLLogProc logger); - - -extern void -_eglSetLogLevel(EGLint level); - - extern void _eglLog(EGLint level, const char *fmtStr, ...); +#ifdef __cplusplus +} +#endif + #endif /* EGLLOG_INCLUDED */