summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2015-04-25 18:49:01 +0000
committernicm <nicm>2015-04-25 18:49:01 +0000
commit1d1208e335644ee10ebe47363b2ca8db45bf9142 (patch)
treea7826f6f5c2a801ec9d051265b175e62f402ca62
parenta568b9cadce002f6f7e8ee914c995242bd70cce5 (diff)
Fix some char* -> char *.
-rw-r--r--cfg.c18
-rw-r--r--key-bindings.c4
2 files changed, 11 insertions, 11 deletions
diff --git a/cfg.c b/cfg.c
index 54ba7f73..bacec996 100644
--- a/cfg.c
+++ b/cfg.c
@@ -27,12 +27,12 @@
#include "tmux.h"
-struct cmd_q *cfg_cmd_q;
-int cfg_finished;
-int cfg_references;
-char** cfg_causes;
-u_int cfg_ncauses;
-struct client *cfg_client;
+struct cmd_q *cfg_cmd_q;
+int cfg_finished;
+int cfg_references;
+char **cfg_causes;
+u_int cfg_ncauses;
+struct client *cfg_client;
int
load_cfg(const char *path, struct cmd_q *cmdq, char **cause)
@@ -114,10 +114,10 @@ cfg_default_done(unused struct cmd_q *cmdq)
}
void
-cfg_add_cause(const char* fmt, ...)
+cfg_add_cause(const char *fmt, ...)
{
- va_list ap;
- char* msg;
+ va_list ap;
+ char *msg;
va_start(ap, fmt);
xvasprintf(&msg, fmt, ap);
diff --git a/key-bindings.c b/key-bindings.c
index 670300a7..d56428b1 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -144,7 +144,7 @@ key_bindings_remove_table(const char *name)
void
key_bindings_init(void)
{
- static const char* defaults[] = {
+ static const char *defaults[] = {
"bind C-b send-prefix",
"bind C-o rotate-window",
"bind C-z suspend-client",
@@ -225,7 +225,7 @@ key_bindings_init(void)
};
u_int i;
struct cmd_list *cmdlist;
- char* cause;
+ char *cause;
int error;
struct cmd_q *cmdq;