*/
#include <GL/glx.h>
-#include "GL/glxint.h"
#include <stdlib.h>
#include <string.h>
* values from the extension specification.
*
* \param count Number of structures to allocate.
- * \param minimum_size Minimum size of a structure to allocate. This allows
- * for differences in the version of the
- * \c struct glx_config stucture used in libGL and in a
- * DRI-based driver.
* \returns A pointer to the first element in a linked list of \c count
* stuctures on success, or \c NULL on failure.
*/
next = &base;
for (i = 0; i < count; i++) {
- *next = (struct glx_config *) malloc(size);
+ *next = malloc(size);
if (*next == NULL) {
glx_config_destroy_list(base);
base = NULL;