Function references should include the parens (), struct references should not include "struct". Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- Documentation/sphinx/convert_template.sed | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/sphinx/convert_template.sed b/Documentation/sphinx/convert_template.sed index d53bb8220a26..0553eabeac79 100644 --- a/Documentation/sphinx/convert_template.sed +++ b/Documentation/sphinx/convert_template.sed @@ -4,10 +4,10 @@ # # Use "$bq" instead of "`" so that pandoc won't mess with it. # -s%<function>\([^<(]\+\)()</function>%:c:func:$bq\1$bq%g -s%<function>\([^<(]\+\)</function>%:c:func:$bq\1$bq%g -s%<structname>struct *\([^<]\+\)</structname>%:ref:$bqstruct \1$bq%g -s%<structname>\([^<]\+\)</structname>%:ref:$bqstruct \1$bq%g +s%<function>\([^<(]\+\)()</function>%:c:func:$bq\1()$bq%g +s%<function>\([^<(]\+\)</function>%:c:func:$bq\1()$bq%g +s%<structname>struct *\([^<]\+\)</structname>%:c:type:$bq\1$bq%g +s%<structname>\([^<]\+\)</structname>%:c:type:$bq\1$bq%g # # Wrap docproc directives in para and code blocks. # -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html