blob: e04f874cd1580f8ff3a219fa40114351b12e3795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-src_sgf_sgf-tree.c,v 1.1 2012/11/16 00:50:40 joerg Exp $
--- src/sgf/sgf-tree.c.orig 2012-11-15 15:21:23.000000000 +0000
+++ src/sgf/sgf-tree.c
@@ -1271,7 +1271,7 @@ sgf_node_count_subtree_nodes (const SgfN
/* Dynamically allocate an SgfProperty structure and initialize its
* type and pointer to the next property with given values.
*/
-inline SgfProperty *
+SgfProperty *
sgf_property_new (SgfGameTree *tree, SgfType type, SgfProperty *next)
{
SgfProperty *property = memory_pool_alloc (&tree->property_pool);
@@ -1288,7 +1288,7 @@ sgf_property_new (SgfGameTree *tree, Sgf
* types need to be freed. Values of other types are stored in the
* property structure itself.
*/
-inline void
+void
sgf_property_delete (SgfProperty *property, SgfGameTree *tree)
{
assert (property);
|