mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 03:33:34 -04:00
34 lines
791 B
C
34 lines
791 B
C
$NetBSD: patch-libAfterBase_ashash.c,v 1.3 2016/05/01 19:30:58 dholland Exp $
|
|
|
|
Patch up gcc inline mess.
|
|
|
|
--- libAfterBase/ashash.c.orig 2008-03-17 22:42:32.000000000 +0000
|
|
+++ libAfterBase/ashash.c
|
|
@@ -39,7 +39,7 @@
|
|
static ASHashItem* deallocated_mem[DEALLOC_CACHE_SIZE+10] ;
|
|
static unsigned int deallocated_used = 0 ;
|
|
|
|
-static inline void
|
|
+static void
|
|
free_ashash_item( ASHashItem *item )
|
|
{
|
|
|
|
@@ -531,7 +531,7 @@ remove_curr_hash_item (ASHashIterator *
|
|
}
|
|
}
|
|
|
|
-inline ASHashableValue
|
|
+ASHashableValue
|
|
curr_hash_value (ASHashIterator * iterator)
|
|
{
|
|
if (iterator)
|
|
@@ -542,7 +542,7 @@ curr_hash_value (ASHashIterator * iterat
|
|
return (ASHashableValue) ((char *)NULL);
|
|
}
|
|
|
|
-inline void *
|
|
+void *
|
|
curr_hash_data (ASHashIterator * iterator)
|
|
{
|
|
if (iterator)
|