summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-21 07:00:10 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-21 07:00:10 +0000
commitbbc2bb8fcbd05be09c44c833dc486fea07cc8450 (patch)
tree3bdebf85fe10eec75efea8823d55a67269d90612 /usr.bin/tmux/tmux.h
parentc3047b68979eabf890fad2418b690db5736b95bc (diff)
Drop tiny union from option struct.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 46899bbf1c4..03bfd32dc6b 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.108 2009/09/21 06:55:06 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.109 2009/09/21 07:00:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -545,10 +545,9 @@ struct options_entry {
OPTIONS_STRING,
OPTIONS_NUMBER,
} type;
- union {
- char *string;
- long long number;
- } value;
+
+ char *str;
+ long long num;
SPLAY_ENTRY(options_entry) entry;
};