summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-21 15:32:06 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-21 15:32:06 +0000
commit6fab9a3e6f0a18ce63662fceedb87e96f2680d83 (patch)
tree7d0397075a14cb8b404ed0c53227f5540e1af82f
parenta44852442404fc466015a08e5de03fa552e5eb2c (diff)
Use KEYC_NONE constant instead of 0 on init.
-rw-r--r--cmd-command-prompt.c2
-rw-r--r--cmd-copy-buffer.c2
-rw-r--r--cmd-if-shell.c2
-rw-r--r--cmd-new-session.c2
-rw-r--r--cmd-new-window.c2
-rw-r--r--cmd-set-password.c2
-rw-r--r--cmd-source-file.c2
-rw-r--r--cmd-split-window.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index 6aee2ec0..bcbde064 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -90,7 +90,7 @@ cmd_command_prompt_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_command_prompt_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "p:t:")) != -1) {
diff --git a/cmd-copy-buffer.c b/cmd-copy-buffer.c
index 695c909c..98166c4b 100644
--- a/cmd-copy-buffer.c
+++ b/cmd-copy-buffer.c
@@ -70,7 +70,7 @@ cmd_copy_buffer_parse(struct cmd *self, int argc, char **argv, char **cause)
const char *errstr;
int n, opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "a:b:s:t:")) != -1) {
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 86502a7f..e84efa84 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -66,7 +66,7 @@ cmd_if_shell_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_if_shell_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "")) != -1) {
diff --git a/cmd-new-session.c b/cmd-new-session.c
index 467fa879..2aafdb1b 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -69,7 +69,7 @@ cmd_new_session_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_new_session_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "ds:n:")) != -1) {
diff --git a/cmd-new-window.c b/cmd-new-window.c
index b3ec4379..bbffad14 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -70,7 +70,7 @@ cmd_new_window_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_new_window_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "dkt:n:")) != -1) {
diff --git a/cmd-set-password.c b/cmd-set-password.c
index 39b48eee..1a6da3f1 100644
--- a/cmd-set-password.c
+++ b/cmd-set-password.c
@@ -66,7 +66,7 @@ cmd_set_password_parse(struct cmd *self, int argc, char **argv, char **cause)
int opt;
char *out;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "c")) != -1) {
diff --git a/cmd-source-file.c b/cmd-source-file.c
index 247b06ec..2cb47c6e 100644
--- a/cmd-source-file.c
+++ b/cmd-source-file.c
@@ -60,7 +60,7 @@ cmd_source_file_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_source_file_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "")) != -1) {
diff --git a/cmd-split-window.c b/cmd-split-window.c
index 1604d9e2..a1a012a2 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -84,7 +84,7 @@ cmd_split_window_parse(struct cmd *self, int argc, char **argv, char **cause)
int opt;
const char *errstr;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "dhl:p:t:v")) != -1) {