mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Fix some char* -> char *.
This commit is contained in:
parent
a568b9cadc
commit
1d1208e335
18
cfg.c
18
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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user