mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	Fix some function prototypes from Helmut Tessarek.
This commit is contained in:
		@@ -28,7 +28,7 @@
 | 
				
			|||||||
 * List all clients.
 | 
					 * List all clients.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_list_clients_exec(struct cmd *, struct cmd_ctx *);
 | 
					enum cmd_retval	cmd_list_clients_exec(struct cmd *, struct cmd_ctx *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const struct cmd_entry cmd_list_clients_entry = {
 | 
					const struct cmd_entry cmd_list_clients_entry = {
 | 
				
			||||||
	"list-clients", "lsc",
 | 
						"list-clients", "lsc",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -97,7 +97,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
				
			|||||||
	return (CMD_RETURN_NORMAL);
 | 
						return (CMD_RETURN_NORMAL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int
 | 
					enum cmd_retval
 | 
				
			||||||
cmd_list_keys_table(struct cmd *self, struct cmd_ctx *ctx)
 | 
					cmd_list_keys_table(struct cmd *self, struct cmd_ctx *ctx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct args			*args = self->args;
 | 
						struct args			*args = self->args;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,7 @@
 | 
				
			|||||||
 * Create a new window.
 | 
					 * Create a new window.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_new_window_exec(struct cmd *, struct cmd_ctx *);
 | 
					enum cmd_retval	cmd_new_window_exec(struct cmd *, struct cmd_ctx *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const struct cmd_entry cmd_new_window_entry = {
 | 
					const struct cmd_entry cmd_new_window_entry = {
 | 
				
			||||||
	"new-window", "neww",
 | 
						"new-window", "neww",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,7 @@
 | 
				
			|||||||
 * Swap one window with another.
 | 
					 * Swap one window with another.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int	cmd_swap_window_exec(struct cmd *, struct cmd_ctx *);
 | 
					enum cmd_retval	cmd_swap_window_exec(struct cmd *, struct cmd_ctx *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const struct cmd_entry cmd_swap_window_entry = {
 | 
					const struct cmd_entry cmd_swap_window_entry = {
 | 
				
			||||||
	"swap-window", "swapw",
 | 
						"swap-window", "swapw",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user