SDL: build-scripts/fnsince.pl: Updated to use Markdown instead of MediaWiki format.

From db39de7f63cdc7610e43955a401a4893c81b7833 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 11 Apr 2024 13:21:30 -0400
Subject: [PATCH] build-scripts/fnsince.pl: Updated to use Markdown instead of
 MediaWiki format.

---
 build-scripts/fnsince.pl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/build-scripts/fnsince.pl b/build-scripts/fnsince.pl
index 9e95886db9309..5560ad5802b60 100755
--- a/build-scripts/fnsince.pl
+++ b/build-scripts/fnsince.pl
@@ -105,7 +105,7 @@
         foreach my $fn (keys %funcs) {
             my $revision = $funcs{$fn};
             $revision = $next_release if $revision eq 'HEAD';
-            my $fname = "$fn.mediawiki";
+            my $fname = "$fn.md";
             if ( ! -f $fname ) {
                 #print STDERR "No such file: $fname\n";
                 next;
@@ -117,21 +117,21 @@
             while (<FH>) {
                 chomp;
                 if ((/\A\-\-\-\-/) && (!$added)) {
-                    push @lines, "== Version ==";
+                    push @lines, "## Version";
                     push @lines, "";
                     push @lines, "This function is available since SDL $revision.";
                     push @lines, "";
                     $added = 1;
                 }
                 push @lines, $_;
-                next if not /\A\=\=\s+Version\s+\=\=/;
+                next if not /\A\#\#\s+Version/;
                 $added = 1;
                 push @lines, "";
                 push @lines, "This function is available since SDL $revision.";
                 push @lines, "";
                 while (<FH>) {
                     chomp;
-                    next if not (/\A\=\=\s+/ || /\A\-\-\-\-/);
+                    next if not (/\A\#\#\s+/ || /\A\-\-\-\-/);
                     push @lines, $_;
                     last;
                 }
@@ -139,7 +139,7 @@
             close(FH);
 
             if (!$added) {
-                push @lines, "== Version ==";
+                push @lines, "## Version";
                 push @lines, "";
                 push @lines, "This function is available since SDL $revision.";
                 push @lines, "";