summaryrefslogtreecommitdiff
path: root/devel/cqual/patches/patch-cc
blob: d60c04526a7677c574ea269cb28be39b85c2d0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
$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);
 }