summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/glapi_getproc.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 16:58:58 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-06 15:03:46 +0100
commit79835565c3a3680262ae5387ef3ec7c2514722f6 (patch)
tree4e01a06239583efafc5162906fef5b870d0ec64d /src/mapi/glapi/glapi_getproc.c
parent9b7fd4080a9439acbb3cbf8b0be50c5b176dac0f (diff)
mapi/glapi: remove unused _glapi_check_table_not_null
Function was never part of the API/ABI and the final user was removed with commit a73c6540d9a7f6e26d8568ba2fc522cb865f0a6c, back in 2010. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/mapi/glapi/glapi_getproc.c')
-rw-r--r--src/mapi/glapi/glapi_getproc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mapi/glapi/glapi_getproc.c b/src/mapi/glapi/glapi_getproc.c
index a50b5b35402..1348b15bae9 100644
--- a/src/mapi/glapi/glapi_getproc.c
+++ b/src/mapi/glapi/glapi_getproc.c
@@ -583,26 +583,6 @@ _glapi_get_dispatch_table_size(void)
/**
- * Make sure there are no NULL pointers in the given dispatch table.
- * Intended for debugging purposes.
- */
-void
-_glapi_check_table_not_null(const struct _glapi_table *table)
-{
-#ifdef EXTRA_DEBUG /* set to DEBUG for extra DEBUG */
- const GLuint entries = _glapi_get_dispatch_table_size();
- const void **tab = (const void **) table;
- GLuint i;
- for (i = 1; i < entries; i++) {
- assert(tab[i]);
- }
-#else
- (void) table;
-#endif
-}
-
-
-/**
* Do some spot checks to be sure that the dispatch table
* slots are assigned correctly. For debugging only.
*/