summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-03-21 13:16:16 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-03-21 13:16:16 +0000
commite276c8b448ca2534b8f2c9942d2e1b00a44770ec (patch)
treef5d5ec45a83b65510e4978cb54afc40ce8f7efa5 /usr.bin/tmux/tmux.h
parentb2db4ec1f9547271f4437644f8d840d60e816d7e (diff)
Break code to convert an argument as a percentage into a common function.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 66d80eb58ba..3e02c128c23 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.962 2020/03/20 17:59:39 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.963 2020/03/21 13:16:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2060,6 +2060,8 @@ const char *args_first_value(struct args *, u_char, struct args_value **);
const char *args_next_value(struct args_value **);
long long args_strtonum(struct args *, u_char, long long, long long,
char **);
+long long args_percentage(struct args *, u_char, long long,
+ long long, long long, char **);
/* cmd-find.c */
int cmd_find_target(struct cmd_find_state *, struct cmdq_item *,