summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alias.c6
-rw-r--r--src/sst.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/src/alias.c b/src/alias.c
index 765f735..b1f7ad7 100644
--- a/src/alias.c
+++ b/src/alias.c
@@ -52,7 +52,7 @@ void alias_rm(const char *name) {
DEF_CCMD_HERE_UNREG(sst_alias_clear, "Remove all command aliases", 0) {
if (cmd->argc != 1) {
- con_warn("usage: sst_alias_clear");
+ con_warn("usage: sst_alias_clear\n");
return;
}
alias_nuke();
@@ -60,11 +60,11 @@ DEF_CCMD_HERE_UNREG(sst_alias_clear, "Remove all command aliases", 0) {
DEF_CCMD_HERE_UNREG(sst_alias_remove, "Remove a command alias", 0) {
if (cmd->argc != 2) {
- con_warn("usage: sst_alias_remove name");
+ con_warn("usage: sst_alias_remove name\n");
return;
}
if (strlen(cmd->argv[1]) > 31) {
- con_warn("invalid alias name (too long)");
+ con_warn("invalid alias name (too long)\n");
return;
}
alias_rm(cmd->argv[1]);
diff --git a/src/sst.c b/src/sst.c
index af15c66..a7eb331 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -159,7 +159,6 @@ IMPORT void *KeyValuesSystem(void);
// most plugin callbacks are unused - define dummy functions for each signature
static void VCALLCONV nop_v_v(void *this) {}
-static void VCALLCONV nop_b_v(void *this, bool b) {}
static void VCALLCONV nop_p_v(void *this, void *p) {}
static void VCALLCONV nop_pp_v(void *this, void *p1, void *p2) {}
static void VCALLCONV nop_pii_v(void *this, void *p, int i1, int i2) {}