diff options
author | 2009-07-29 14:17:26 +0000 | |
---|---|---|
committer | 2009-07-29 14:17:26 +0000 | |
commit | b92285db9d10704558516bc7e386cee40e88ee16 (patch) | |
tree | eb88c74228ea3f45edbc578f4b918c2321317382 /usr.bin/tmux/tmux.c | |
parent | - clean up the hardware list (diff) | |
download | wireguard-openbsd-b92285db9d10704558516bc7e386cee40e88ee16.tar.xz wireguard-openbsd-b92285db9d10704558516bc7e386cee40e88ee16.zip |
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index a5fe1d8daf6..d3ac8fdbb51 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.22 2009/07/29 05:36:53 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.23 2009/07/29 14:17:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -57,8 +57,8 @@ char *socket_path; __dead void usage(void); char *makesockpath(const char *); -int prepare_unlock(enum hdrtype *, void **, size_t *, int); -int prepare_cmd(enum hdrtype *, void **, size_t *, int, char **); +int prepare_unlock(enum msgtype *, void **, size_t *, int); +int prepare_cmd(enum msgtype *, void **, size_t *, int, char **); __dead void usage(void) @@ -203,7 +203,7 @@ makesockpath(const char *label) } int -prepare_unlock(enum hdrtype *msg, void **buf, size_t *len, int argc) +prepare_unlock(enum msgtype *msg, void **buf, size_t *len, int argc) { static struct msg_unlock_data unlockdata; char *pass; @@ -232,7 +232,7 @@ prepare_unlock(enum hdrtype *msg, void **buf, size_t *len, int argc) } int -prepare_cmd(enum hdrtype *msg, void **buf, size_t *len, int argc, char **argv) +prepare_cmd(enum msgtype *msg, void **buf, size_t *len, int argc, char **argv) { static struct msg_command_data cmddata; @@ -258,7 +258,7 @@ main(int argc, char **argv) struct cmd_list *cmdlist; struct cmd *cmd; struct pollfd pfd; - enum hdrtype msg; + enum msgtype msg; struct hdr hdr; struct passwd *pw; struct msg_print_data printdata; |