egl: remove NULL assignments after calloc()
[mesa.git] / src / egl / main / egllog.h
index 10a418447bdc24bc57663a619108c558272da5c2..2a06a34684a4d4ca74cb10ff93c23749e306b5d2 100644 (file)
@@ -1,6 +1,6 @@
 /**************************************************************************
  *
- * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
+ * Copyright 2008 VMware, Inc.
  * Copyright 2009-2010 Chia-I Wu <olvaffe@gmail.com>
  * All Rights Reserved.
  *
 #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);
-
-
-PUBLIC void
-_eglSetLogProc(_EGLLogProc logger);
-
-
-PUBLIC void
-_eglSetLogLevel(EGLint level);
-
-
-PUBLIC void
+extern void
 _eglLog(EGLint level, const char *fmtStr, ...);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EGLLOG_INCLUDED */