Fix some char* -> char *.

This commit is contained in:
nicm 2015-04-25 18:49:01 +00:00
parent a568b9cadc
commit 1d1208e335
2 changed files with 11 additions and 11 deletions

18
cfg.c
View File

@ -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);

View File

@ -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;