projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7be5411
)
mesa: fix function params to match prototypes
author
Sam Hocevar
<sam@zoy.org>
Thu, 25 Sep 2008 15:58:27 +0000
(09:58 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 25 Sep 2008 15:58:27 +0000
(09:58 -0600)
src/mesa/shader/grammar/grammar_crt.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/grammar/grammar_crt.c
b/src/mesa/shader/grammar/grammar_crt.c
index bdf2da9b2e253ae532bff2be73e2f7fe430f27f9..d2c95d1c8e758e06e3420882867b24d9fb2404c3 100644
(file)
--- a/
src/mesa/shader/grammar/grammar_crt.c
+++ b/
src/mesa/shader/grammar/grammar_crt.c
@@
-10,17
+10,17
@@
void grammar_alloc_free (void *ptr)
free (ptr);
}
free (ptr);
}
-void *grammar_alloc_malloc (
unsigned in
t size)
+void *grammar_alloc_malloc (
size_
t size)
{
return malloc (size);
}
{
return malloc (size);
}
-void *grammar_alloc_realloc (void *ptr,
unsigned int old_size, unsigned in
t size)
+void *grammar_alloc_realloc (void *ptr,
size_t old_size, size_
t size)
{
return realloc (ptr, size);
}
{
return realloc (ptr, size);
}
-void *grammar_memory_copy (void *dst, const void * src,
unsigned in
t size)
+void *grammar_memory_copy (void *dst, const void * src,
size_
t size)
{
return memcpy (dst, src, size);
}
{
return memcpy (dst, src, size);
}
@@
-30,7
+30,7
@@
int grammar_string_compare (const byte *str1, const byte *str2)
return strcmp ((const char *) str1, (const char *) str2);
}
return strcmp ((const char *) str1, (const char *) str2);
}
-int grammar_string_compare_n (const byte *str1, const byte *str2,
unsigned in
t n)
+int grammar_string_compare_n (const byte *str1, const byte *str2,
size_
t n)
{
return strncmp ((const char *) str1, (const char *) str2, n);
}
{
return strncmp ((const char *) str1, (const char *) str2, n);
}
@@
-40,7
+40,7
@@
byte *grammar_string_copy (byte *dst, const byte *src)
return (byte *) strcpy ((char *) dst, (const char *) src);
}
return (byte *) strcpy ((char *) dst, (const char *) src);
}
-byte *grammar_string_copy_n (byte *dst, const byte *src,
unsigned in
t n)
+byte *grammar_string_copy_n (byte *dst, const byte *src,
size_
t n)
{
return (byte *) strncpy ((char *) dst, (const char *) src, n);
}
{
return (byte *) strncpy ((char *) dst, (const char *) src, n);
}