diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2025-01-05 17:16:54 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2025-01-05 22:16:09 +0000 |
| commit | 213486fc1b9fc0675a35b5c530447b401f9410ff (patch) | |
| tree | b88bf0c3330a289e1bd5f0ab4e81e8601d03fcbc /apt-pkg | |
| parent | 889cb31fc79be9b06a08a82063eef0102cf30543 (diff) | |
Remove leftovers from ftp and rsh/ssh methods removal
References: fd3684cdbc165ceaa635ed19fcbd231f509b0179
Diffstat (limited to 'apt-pkg')
| -rw-r--r-- | apt-pkg/contrib/strutl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h index 6f80155e8..fdaa23766 100644 --- a/apt-pkg/contrib/strutl.h +++ b/apt-pkg/contrib/strutl.h @@ -98,7 +98,7 @@ APT_PUBLIC std::string TimeRFC1123(time_t Date, bool const NumericTimezone); * @return \b true if parsing was successful, otherwise \b false. */ [[nodiscard]] APT_PUBLIC bool RFC1123StrToTime(const std::string &str,time_t &time); -[[nodiscard]] APT_PUBLIC bool FTPMDTMStrToTime(const char* const str,time_t &time); +[[nodiscard, deprecated("Unused and untested in src:apt")]] APT_PUBLIC bool FTPMDTMStrToTime(const char *str, time_t &time); APT_PUBLIC std::string LookupTag(const std::string &Message,const char *Tag,const char *Default = 0); APT_PUBLIC int StringToBool(const std::string &Text,int Default = -1); APT_PUBLIC bool ReadMessages(int Fd, std::vector<std::string> &List); |
