mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Remove some dead code in cmd-move-window.c and make a load of local
functions static.
This commit is contained in:
		@@ -22,14 +22,14 @@
 | 
			
		||||
 | 
			
		||||
#include "tmux.h"
 | 
			
		||||
 | 
			
		||||
int	tty_acs_cmp(const void *, const void *);
 | 
			
		||||
static int	tty_acs_cmp(const void *, const void *);
 | 
			
		||||
 | 
			
		||||
/* Table mapping ACS entries to UTF-8. */
 | 
			
		||||
struct tty_acs_entry {
 | 
			
		||||
	u_char	 	 key;
 | 
			
		||||
	const char	*string;
 | 
			
		||||
};
 | 
			
		||||
const struct tty_acs_entry tty_acs_table[] = {
 | 
			
		||||
static const struct tty_acs_entry tty_acs_table[] = {
 | 
			
		||||
	{ '+', "\342\206\222" },	/* arrow pointing right */
 | 
			
		||||
	{ ',', "\342\206\220" },	/* arrow pointing left */
 | 
			
		||||
	{ '-', "\342\206\221" },	/* arrow pointing up */
 | 
			
		||||
@@ -64,7 +64,7 @@ const struct tty_acs_entry tty_acs_table[] = {
 | 
			
		||||
	{ '~', "\302\267" }		/* bullet */
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
static int
 | 
			
		||||
tty_acs_cmp(const void *key, const void *value)
 | 
			
		||||
{
 | 
			
		||||
	const struct tty_acs_entry	*entry = value;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user