diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:51:00 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 09:18:57 -0500 |
commit | 26f8fad1456fdc2b352cea9d3b4c32cb5f6ae947 (patch) | |
tree | afc0b9a4ef89c348fe9ea4b3a3ef5a77f627c496 /src/glx/glcontextmodes.c | |
parent | c7ac486261ad30ef654f6d0b1608da4e8483cd40 (diff) |
Remove _mesa_memset in favor of plain memset.
This may break the SUNOS4 build, but it's no longer relevant.
Diffstat (limited to 'src/glx/glcontextmodes.c')
-rw-r--r-- | src/glx/glcontextmodes.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/glx/glcontextmodes.c b/src/glx/glcontextmodes.c index 232031c2ca8..257087a802f 100644 --- a/src/glx/glcontextmodes.c +++ b/src/glx/glcontextmodes.c @@ -48,17 +48,14 @@ # include <string.h> # define _mesa_malloc(b) malloc(b) # define _mesa_free(m) free(m) -# define _mesa_memset memset #else # ifdef XFree86Server # include <os.h> # include <string.h> # define _mesa_malloc(b) xalloc(b) # define _mesa_free(m) xfree(m) -# define _mesa_memset memset # else # include <X11/Xlibint.h> -# define _mesa_memset memset # define _mesa_malloc(b) Xmalloc(b) # define _mesa_free(m) Xfree(m) # endif /* XFree86Server */ @@ -133,7 +130,7 @@ _gl_copy_visual_to_context_mode(__GLcontextModes * mode, { __GLcontextModes *const next = mode->next; - (void) _mesa_memset(mode, 0, sizeof(__GLcontextModes)); + (void) memset(mode, 0, sizeof(__GLcontextModes)); mode->next = next; mode->visualID = config->vid; @@ -402,7 +399,7 @@ _gl_context_modes_create(unsigned count, size_t minimum_size) break; } - (void) _mesa_memset(*next, 0, size); + (void) memset(*next, 0, size); (*next)->visualID = GLX_DONT_CARE; (*next)->visualType = GLX_DONT_CARE; (*next)->visualRating = GLX_NONE; |