From d4e92b44ea6067f2db9b0e5d47b448c2ae62b2f3 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 2 Feb 2026 12:27:59 +0100 Subject: [PATCH] pdb: remove unused std_pdb_deprecated(). This function is counter-productive, since we now want to have both deprecated and deprecated_since together. But there is no generic "since version" to be used for such a macro. So let's just have people explicitly add both variables (and error out the generation script if they miss any). --- pdb/stddefs.pdb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pdb/stddefs.pdb b/pdb/stddefs.pdb index 5213fa1d01..ab0d07248b 100644 --- a/pdb/stddefs.pdb +++ b/pdb/stddefs.pdb @@ -181,17 +181,6 @@ sub idriss_pdb_misc { contrib_pdb_misc('Idriss Fekir', '', @_); } -sub std_pdb_deprecated { - if (@_) { - $blurb = $help = ''; - $deprecated = "@_"; - } else { - $blurb = $help = ''; - $deprecated = "NONE"; - } - $author = $copyright = $date = ''; -} - sub std_pdb_compat { $author = $copyright = "Compatibility procedure. Please see '@_' for credits."; }