Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 3c3b3b1

Browse files
committed
Fix a docbook element nesting nit.
According to the docbook documentation for <funcprototype>, its parent must be <funcsynopsis>; fix accordingly. Nonetheless, the man page processor fails badly when this construct is embedded in a <para> (which is documented to be legal), although the html processor does fine.
1 parent a95018e commit 3c3b3b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/jemalloc.xml.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,14 +1349,14 @@ malloc_conf = "xmalloc:true";]]></programlisting>
13491349
also be set via <link linkend="arena.i.chunk.dalloc">
13501350
<mallctl>arena.&lt;i&gt;.chunk.dalloc</mallctl></link> to a companion
13511351
function that knows how to deallocate the chunks.
1352-
<funcprototype>
1352+
<funcsynopsis><funcprototype>
13531353
<funcdef>typedef void *<function>(chunk_alloc_t)</function></funcdef>
13541354
<paramdef>void *<parameter>chunk</parameter></paramdef>
13551355
<paramdef>size_t <parameter>size</parameter></paramdef>
13561356
<paramdef>size_t <parameter>alignment</parameter></paramdef>
13571357
<paramdef>bool *<parameter>zero</parameter></paramdef>
13581358
<paramdef>unsigned <parameter>arena_ind</parameter></paramdef>
1359-
</funcprototype>
1359+
</funcprototype></funcsynopsis>
13601360
A chunk allocation function conforms to the <type>chunk_alloc_t</type>
13611361
type and upon success returns a pointer to <parameter>size</parameter>
13621362
bytes of memory on behalf of arena <parameter>arena_ind</parameter> such
@@ -1397,12 +1397,12 @@ malloc_conf = "xmalloc:true";]]></programlisting>
13971397
arena creation), but the automatically created arenas may have already
13981398
created chunks prior to the application having an opportunity to take
13991399
over chunk allocation.
1400-
<funcprototype>
1400+
<funcsynopsis><funcprototype>
14011401
<funcdef>typedef void <function>(chunk_dalloc_t)</function></funcdef>
14021402
<paramdef>void *<parameter>chunk</parameter></paramdef>
14031403
<paramdef>size_t <parameter>size</parameter></paramdef>
14041404
<paramdef>unsigned <parameter>arena_ind</parameter></paramdef>
1405-
</funcprototype>
1405+
</funcprototype></funcsynopsis>
14061406
A chunk deallocation function conforms to the
14071407
<type>chunk_dalloc_t</type> type and deallocates a
14081408
<parameter>chunk</parameter> of given <parameter>size</parameter> on

0 commit comments

Comments
 (0)