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).
This commit is contained in:
Jehan 2026-02-02 12:27:59 +01:00
parent 28a4d8fd07
commit d4e92b44ea

View file

@ -181,17 +181,6 @@ sub idriss_pdb_misc {
contrib_pdb_misc('Idriss Fekir', '', @_); 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 { sub std_pdb_compat {
$author = $copyright = "Compatibility procedure. Please see '@_' for credits."; $author = $copyright = "Compatibility procedure. Please see '@_' for credits.";
} }