File 0951-Fix-c-module-docs.patch of Package erlang

From 00a8d2357616f49c8af3cd05204b317e172a0d69 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 23 Oct 2023 11:22:55 +0200
Subject: [PATCH 11/13] Fix c module docs

---
 lib/stdlib/doc/src/c.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/stdlib/doc/src/c.xml b/lib/stdlib/doc/src/c.xml
index 638e6ae38e..b168587566 100644
--- a/lib/stdlib/doc/src/c.xml
+++ b/lib/stdlib/doc/src/c.xml
@@ -446,7 +446,7 @@ compile:file(<anno>File</anno>, <anno>Options</anno> ++ [report_errors, report_w
     </func>
 
     <func>
-      <name since="">xm(ModSpec) -> void()</name>
+      <name since="">xm(ModSpec) -> term()</name>
       <fsummary>Cross-reference check a module.</fsummary>
       <type>
         <v>ModSpec = Module | Filename</v>
@@ -464,7 +464,7 @@ compile:file(<anno>File</anno>, <anno>Options</anno> ++ [report_errors, report_w
       <name since="">y(File) -> YeccRet</name>
       <fsummary>Generate an LALR-1 parser.</fsummary>
       <type>
-        <v>File = name()</v>
+        <v>File = <seeerl marker="filename"><c>filename:name()</c></seeerl></v>
         <v>YeccRet</v>
       </type>
       <desc>
@@ -483,7 +483,7 @@ yecc:file(File)</code>
       <name since="">y(File, Options) -> YeccRet</name>
       <fsummary>Generate an LALR-1 parser.</fsummary>
       <type>
-        <v>File = name()</v>
+        <v>File = filename:name()</v>
         <v>Options, YeccRet</v>
       </type>
       <desc>
-- 
2.35.3

openSUSE Build Service is sponsored by