mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-01 13:42:16 -05:00
Eliminate some more plugin warnings
This commit is contained in:
parent
46b0fe70eb
commit
e3be4a0e0a
@ -52,9 +52,9 @@
|
|||||||
#define DEFAULT_LIMIT 256 /* default size is 256 MiB */
|
#define DEFAULT_LIMIT 256 /* default size is 256 MiB */
|
||||||
|
|
||||||
static xchat_plugin *ph; /* plugin handle */
|
static xchat_plugin *ph; /* plugin handle */
|
||||||
static const char name[] = "Checksum";
|
static char name[] = "Checksum";
|
||||||
static const char desc[] = "Calculate checksum for DCC file transfers";
|
static char desc[] = "Calculate checksum for DCC file transfers";
|
||||||
static const char version[] = "3.1";
|
static char version[] = "3.1";
|
||||||
|
|
||||||
/* Use of OpenSSL SHA256 interface: http://adamlamers.com/?p=5 */
|
/* Use of OpenSSL SHA256 interface: http://adamlamers.com/?p=5 */
|
||||||
static void
|
static void
|
||||||
@ -225,8 +225,8 @@ dccoffer_cb (char *word[], void *userdata)
|
|||||||
return XCHAT_EAT_NONE;
|
return XCHAT_EAT_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static int
|
||||||
checksum (char *word[], void *userdata)
|
checksum (char *word[], char *word_eol[], void *userdata)
|
||||||
{
|
{
|
||||||
if (!g_ascii_strcasecmp ("GET", word[2]))
|
if (!g_ascii_strcasecmp ("GET", word[2]))
|
||||||
{
|
{
|
||||||
@ -242,6 +242,8 @@ checksum (char *word[], void *userdata)
|
|||||||
xchat_printf (ph, " GET - print the maximum file size (in MiB) to be hashed\n");
|
xchat_printf (ph, " GET - print the maximum file size (in MiB) to be hashed\n");
|
||||||
xchat_printf (ph, " SET <filesize> - set the maximum file size (in MiB) to be hashed\n");
|
xchat_printf (ph, " SET <filesize> - set the maximum file size (in MiB) to be hashed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return XCHAT_EAT_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include "hexchat-plugin.h"
|
#include "hexchat-plugin.h"
|
||||||
|
|
||||||
static xchat_plugin *ph; /* plugin handle */
|
static xchat_plugin *ph; /* plugin handle */
|
||||||
static const char name[] = "Exec";
|
static char name[] = "Exec";
|
||||||
static const char desc[] = "Execute commands inside HexChat";
|
static char desc[] = "Execute commands inside HexChat";
|
||||||
static const char version[] = "1.1";
|
static char version[] = "1.1";
|
||||||
|
|
||||||
static int
|
static int
|
||||||
run_command (char *word[], char *word_eol[], void *userdata)
|
run_command (char *word[], char *word_eol[], void *userdata)
|
||||||
|
@ -41,9 +41,9 @@
|
|||||||
#include "hexchat-plugin.h"
|
#include "hexchat-plugin.h"
|
||||||
|
|
||||||
static xchat_plugin *ph; /* plugin handle */
|
static xchat_plugin *ph; /* plugin handle */
|
||||||
static const char name[] = "SASL";
|
static char name[] = "SASL";
|
||||||
static const char desc[] = "SASL authentication plugin for HexChat";
|
static char desc[] = "SASL authentication plugin for HexChat";
|
||||||
static const char version[] = "1.2";
|
static char version[] = "1.2";
|
||||||
static const char sasl_help[] = "SASL Usage:\n /SASL ADD <login> <password> <network>, enable/update SASL authentication for given network\n /SASL DEL <network>, disable SASL authentication for given network\n /SASL LIST, get the list of SASL-enabled networks\n";
|
static const char sasl_help[] = "SASL Usage:\n /SASL ADD <login> <password> <network>, enable/update SASL authentication for given network\n /SASL DEL <network>, disable SASL authentication for given network\n /SASL LIST, get the list of SASL-enabled networks\n";
|
||||||
|
|
||||||
struct sasl_info
|
struct sasl_info
|
||||||
|
@ -32,7 +32,7 @@ static xchat_plugin *ph; /* plugin handle */
|
|||||||
static char name[] = "Update Checker";
|
static char name[] = "Update Checker";
|
||||||
static char desc[] = "Check for HexChat updates automatically";
|
static char desc[] = "Check for HexChat updates automatically";
|
||||||
static char version[] = "4.0";
|
static char version[] = "4.0";
|
||||||
static char upd_help[] = "Update Checker Usage:\n /UPDCHK, check for HexChat updates\n /UPDCHK SET delay|format, set startup delay or check frequency\n";
|
static const char upd_help[] = "Update Checker Usage:\n /UPDCHK, check for HexChat updates\n /UPDCHK SET delay|format, set startup delay or check frequency\n";
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
check_version ()
|
check_version ()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; wmpa.def : Declares the module parameters for the DLL.
|
; wmpa.def : Declares the module parameters for the DLL.
|
||||||
|
|
||||||
LIBRARY "xcwmpa"
|
LIBRARY "hcwmpa"
|
||||||
|
|
||||||
EXPORTS
|
EXPORTS
|
||||||
; Explicit exports can go here
|
; Explicit exports can go here
|
||||||
|
Loading…
Reference in New Issue
Block a user