diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-02-06 17:11:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-02-06 17:11:40 +0000 |
commit | dfc5d64b8e5c5cd2dff1791503dd818ecf924be1 (patch) | |
tree | 0664d73861c5604a3dcea7bc791f50bf4ab9ef8e /usr.bin/tmux/tmux.h | |
parent | cdc6bb8060137b0027903c59e1e00006b3368e81 (diff) |
Add format_expand_time and use it instead of status_replace where
command execution is not needed.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 233857a3f87..4aebcb46bf1 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.488 2015/02/05 10:29:43 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.489 2015/02/06 17:11:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1512,6 +1512,7 @@ void format_free(struct format_tree *); void printflike(3, 4) format_add(struct format_tree *, const char *, const char *, ...); const char *format_find(struct format_tree *, const char *); +char *format_expand_time(struct format_tree *, const char *, time_t); char *format_expand(struct format_tree *, const char *); void format_defaults(struct format_tree *, struct client *, struct session *, struct winlink *, struct window_pane *); |