On 04.12.2009 11:24, Kenneth Graunke wrote:
> On Thursday 03 December 2009 12:47:36 Brian Paul wrote:
> [snip]
>> I've been meaning to go over imports.[ch] and make a bunch of the
>> wrapper functions inlines.
>>
>> A lot of the wrappers aren't needed any more. Back before valgrind I
>> used the memory-related wrappers quite often. For now, let's keep the
>> wrappers so we don't have to touch tons of other files right away.
>>
>> Matt, feel free to submit a patch.
>>
>> -Brian
>
> I've attached patches to remove a number of the wrappers, should you decide
> you want to go that way.
>
> diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
> index 6a34aec..0f10111 100644
> --- a/src/mesa/main/imports.c
> +++ b/src/mesa/main/imports.c
> @@ -268,17 +268,6 @@ _mesa_bzero( void *dst, size_t n )
> #endif
> }
>
> -/** Wrapper around memcmp() */
> -int
> -_mesa_memcmp( const void *s1, const void *s2, size_t n )
> -{
> -#if defined(SUNOS4)
> - return memcmp( (char *) s1, (char *) s2, (int) n );
> -#else
> - return memcmp(s1, s2, n);
> -#endif
> -}
> -
> /*...@}*/
So is the different implementation on SUNOS4 no longer relevant?
Roland
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev