a tad more const-correctness

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-03-22 10:44:02 +01:00
parent 7c56eac154
commit b28ac09368
7 changed files with 10 additions and 10 deletions

View File

@@ -181,7 +181,7 @@ cons_show_error(const char* const msg, ...)
}
void
cons_show_tlscert_summary(TLSCertificate* cert)
cons_show_tlscert_summary(const TLSCertificate* cert)
{
if (!cert) {
return;
@@ -193,7 +193,7 @@ cons_show_tlscert_summary(TLSCertificate* cert)
}
void
cons_show_tlscert(TLSCertificate* cert)
cons_show_tlscert(const TLSCertificate* cert)
{
if (!cert) {
return;

View File

@@ -333,8 +333,8 @@ void cons_show_contact_online(PContact contact, Resource* resource, GDateTime* l
void cons_show_contact_offline(PContact contact, char* resource, char* status);
void cons_theme_properties(void);
void cons_theme_colours(void);
void cons_show_tlscert(TLSCertificate* cert);
void cons_show_tlscert_summary(TLSCertificate* cert);
void cons_show_tlscert(const TLSCertificate* cert);
void cons_show_tlscert_summary(const TLSCertificate* cert);
void cons_alert(ProfWin* alert_origin_window);
void cons_remove_alert(ProfWin* window);