aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-22 17:46:53 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-22 17:46:53 +0000
commitd29b57f597a932d9c0b464c165978d789bf134a8 (patch)
tree654d9df45b396daa10a48595ec974677bfa3dc47 /tmux.h
parent0237e1dafdfd94f8526a73ad02f5ed88e24c4c18 (diff)
downloadrtmux-d29b57f597a932d9c0b464c165978d789bf134a8.tar.gz
rtmux-d29b57f597a932d9c0b464c165978d789bf134a8.tar.bz2
rtmux-d29b57f597a932d9c0b464c165978d789bf134a8.zip
Sync OpenBSD patchset 155:
Make some functions which return unused values void (mostly found by lint) and tweak a redundant expression in window_pane_set_mode.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 674e9fc1..b2cae2de 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.379 2009-07-22 17:33:02 tcunha Exp $ */
+/* $Id: tmux.h,v 1.380 2009-07-22 17:46:53 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1013,7 +1013,7 @@ void options_init(struct options *, struct options *);
void options_free(struct options *);
struct options_entry *options_find1(struct options *, const char *);
struct options_entry *options_find(struct options *, const char *);
-int options_remove(struct options *, const char *);
+void options_remove(struct options *, const char *);
void printflike3 options_set_string(
struct options *, const char *, const char *, ...);
char *options_get_string(struct options *, const char *);
@@ -1286,7 +1286,6 @@ const char *key_string_lookup_key(int);
/* server.c */
extern struct clients clients;
-struct client *server_create_client(int);
int server_client_index(struct client *);
int server_start(char *);
@@ -1466,9 +1465,9 @@ struct window *window_create1(u_int, u_int);
struct window *window_create(const char *, const char *,
const char *, const char **, u_int, u_int, u_int, char **);
void window_destroy(struct window *);
-int window_resize(struct window *, u_int, u_int);
void window_set_active_pane(struct window *, struct window_pane *);
struct window_pane *window_add_pane(struct window *, u_int, char **);
+void window_resize(struct window *, u_int, u_int);
void window_remove_pane(struct window *, struct window_pane *);
struct window_pane *window_pane_at_index(struct window *, u_int);
u_int window_pane_index(struct window *, struct window_pane *);
@@ -1478,7 +1477,7 @@ struct window_pane *window_pane_create(struct window *, u_int, u_int, u_int);
void window_pane_destroy(struct window_pane *);
int window_pane_spawn(struct window_pane *,
const char *, const char *, const char **, char **);
-int window_pane_resize(struct window_pane *, u_int, u_int);
+void window_pane_resize(struct window_pane *, u_int, u_int);
int window_pane_set_mode(
struct window_pane *, const struct window_mode *);
void window_pane_reset_mode(struct window_pane *);