From 105e259f2c585119a07b984c58fc63cdf4244e14 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 25 Feb 2026 01:06:13 -0700 Subject: [PATCH] Removed redundant inline /* plugin handle */ comments from the ph declarations in three plugin source files, keeping behavior unchanged and making the declarations cleaner. --- plugins/checksum/checksum.c | 2 +- plugins/exec/exec.c | 2 +- plugins/upd/upd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 810875db..4a8888f9 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -26,7 +26,7 @@ #include "zoitechat-plugin.h" -static zoitechat_plugin *ph; /* plugin handle */ +static zoitechat_plugin *ph; static char name[] = "Checksum"; static char desc[] = "Calculate checksum for DCC file transfers"; static char version[] = "4.0"; diff --git a/plugins/exec/exec.c b/plugins/exec/exec.c index ad8d871e..205a02fc 100644 --- a/plugins/exec/exec.c +++ b/plugins/exec/exec.c @@ -25,7 +25,7 @@ #include "zoitechat-plugin.h" -static zoitechat_plugin *ph; /* plugin handle */ +static zoitechat_plugin *ph; static char name[] = "Exec"; static char desc[] = "Execute commands inside ZoiteChat"; static char version[] = "1.2"; diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index ec075733..84cd27ab 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -26,7 +26,7 @@ #define APPCAST_URL "https://zoitechat.zoite.net/appcast.xml" -static zoitechat_plugin *ph; /* plugin handle */ +static zoitechat_plugin *ph; static char name[] = "Update Checker"; static char desc[] = "Check for ZoiteChat updates automatically"; static char version[] = "5.0";