pkgsrc/devel/cqual/patches/patch-cc
rillig ad20db380a Added some patches to make Cqual build on IRIX 6.5/mips with MIPSpro. (By
the way, all these patches have already been reported upstream and are
mostly fixed.)
2006-01-19 04:21:39 +00:00

43 lines
966 B
Text

$NetBSD: patch-cc,v 1.1 2006/01/19 04:21:39 rillig Exp $
--- src/libcompat/regions.c.orig Wed Jan 18 21:53:04 2006
+++ src/libcompat/regions.c Wed Jan 18 22:11:39 2006
@@ -211,7 +211,7 @@
return r;
}
-inline char *__rc_rstralloc(region r, size_t size)
+char *__rc_rstralloc(region r, size_t size)
{
void *mem, *dummy;
@@ -222,7 +222,7 @@
return mem;
}
-inline char *__rc_rstralloc0(region r, size_t size)
+char *__rc_rstralloc0(region r, size_t size)
{
char *mem;
@@ -276,19 +276,17 @@
return newmem;
}
-inline
char *__rc_rstrextend(region r, const char *old, size_t newsize)
{
return internal_rstrextend(r, old, newsize, 0);
}
-inline
char *__rc_rstrextend0(region r, const char *old, size_t newsize)
{
return internal_rstrextend(r, old, newsize, 1);
}
-inline void *__rc_typed_ralloc(region r, size_t size, type_t t)
+void *__rc_typed_ralloc(region r, size_t size, type_t t)
{
return __rc_rstralloc0(r, size);
}