From 1496aa5dbca55bbbe3c21d575e4c160441a124a4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 26 Jun 2009 22:18:03 +0000 Subject: [PATCH] Remove some unused function declarations; no binary change. --- screen-write.c | 2 +- tmux.h | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/screen-write.c b/screen-write.c index 73e3fb2d..5b0eb1e9 100644 --- a/screen-write.c +++ b/screen-write.c @@ -357,7 +357,7 @@ screen_write_deletecharacter(struct screen_write_ctx *ctx, u_int nx) if (s->cx <= screen_size_x(s) - 1) grid_view_delete_cells(s->grid, s->cx, s->cy, nx); - tty_write_cmd(ctx->wp, TTY_DELETECHARACTER, nx); +// tty_write_cmd(ctx->wp, TTY_DELETECHARACTER, nx); } /* Insert ny lines. */ diff --git a/tmux.h b/tmux.h index fdb649df..d36f994c 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id $ */ +/* $OpenBSD: tmux.h,v 1.15 2009/06/26 19:44:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1216,7 +1216,6 @@ size_t cmd_pane_print(struct cmd *, char *, size_t); /* client.c */ int client_init(char *, struct client_ctx *, int, int); -int client_flush(struct client_ctx *); int client_main(struct client_ctx *); /* client-msg.c */ @@ -1405,8 +1404,6 @@ void screen_set_selection( struct screen *, u_int, u_int, u_int, u_int, struct grid_cell *); void screen_clear_selection(struct screen *); int screen_check_selection(struct screen *, u_int, u_int); -void screen_display_copy_area(struct screen *, struct screen *, - u_int, u_int, u_int, u_int, u_int, u_int); /* window.c */ extern struct windows windows; @@ -1442,7 +1439,6 @@ 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_calculate_sizes(struct window *); int window_pane_set_mode( struct window_pane *, const struct window_mode *); void window_pane_reset_mode(struct window_pane *); @@ -1560,6 +1556,5 @@ int printflike2 xasprintf(char **, const char *, ...); int xvasprintf(char **, const char *, va_list); int printflike3 xsnprintf(char *, size_t, const char *, ...); int xvsnprintf(char *, size_t, const char *, va_list); -int printflike3 printpath(char *, size_t, const char *, ...); #endif /* TMUX_H */