From 31ccf2f8134538bd3f4b2bad0d092536b3adb519 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 22 Sep 2009 14:06:40 +0000 Subject: [PATCH] Sync OpenBSD patchset 342: Use KEYC_NONE constant instead of 0 on init. --- cmd-command-prompt.c | 4 ++-- cmd-copy-buffer.c | 4 ++-- cmd-if-shell.c | 4 ++-- cmd-new-session.c | 4 ++-- cmd-new-window.c | 4 ++-- cmd-set-password.c | 4 ++-- cmd-source-file.c | 4 ++-- cmd-split-window.c | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 004fe962..0ef56df5 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -1,4 +1,4 @@ -/* $Id: cmd-command-prompt.c,v 1.25 2009-08-25 13:53:39 tcunha Exp $ */ +/* $Id: cmd-command-prompt.c,v 1.26 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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 30731d14..b74f7789 100644 --- a/cmd-copy-buffer.c +++ b/cmd-copy-buffer.c @@ -1,4 +1,4 @@ -/* $Id: cmd-copy-buffer.c,v 1.4 2009-09-07 23:48:54 tcunha Exp $ */ +/* $Id: cmd-copy-buffer.c,v 1.5 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2009 Tiago Cunha @@ -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 7bf50eb8..cfbc4d29 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -1,4 +1,4 @@ -/* $Id: cmd-if-shell.c,v 1.4 2009-07-28 22:12:16 tcunha Exp $ */ +/* $Id: cmd-if-shell.c,v 1.5 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2009 Tiago Cunha @@ -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 08b2029d..8ee40eca 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-new-session.c,v 1.66 2009-09-16 12:36:27 nicm Exp $ */ +/* $Id: cmd-new-session.c,v 1.67 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -70,7 +70,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 7f304a59..4a258c41 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-new-window.c,v 1.37 2009-08-16 19:16:27 tcunha Exp $ */ +/* $Id: cmd-new-window.c,v 1.38 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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 68a6d944..3a659a41 100644 --- a/cmd-set-password.c +++ b/cmd-set-password.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-password.c,v 1.8 2009-07-28 22:12:16 tcunha Exp $ */ +/* $Id: cmd-set-password.c,v 1.9 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -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 ef61cd7f..b8b5081b 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -1,4 +1,4 @@ -/* $Id: cmd-source-file.c,v 1.8 2009-08-24 16:27:03 tcunha Exp $ */ +/* $Id: cmd-source-file.c,v 1.9 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2008 Tiago Cunha @@ -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 79594631..df16c2b6 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-split-window.c,v 1.27 2009-09-16 12:36:27 nicm Exp $ */ +/* $Id: cmd-split-window.c,v 1.28 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -83,7 +83,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) {