aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-22 13:49:13 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-22 13:49:13 +0000
commitf2d249fdc7449396d88efb3ee7ff957eba26c4dd (patch)
treedb57d0741b3c80cd328d1ea0bda39fdcda3db35e /tmux.h
parentc28d4e41cf7ca243287975e9fb1212af140bc48d (diff)
downloadrtmux-f2d249fdc7449396d88efb3ee7ff957eba26c4dd.tar.gz
rtmux-f2d249fdc7449396d88efb3ee7ff957eba26c4dd.tar.bz2
rtmux-f2d249fdc7449396d88efb3ee7ff957eba26c4dd.zip
Sync OpenBSD patchset 337:
Drop tiny union from option struct.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 293e9ec0..9dc80604 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.446 2009-09-22 13:45:06 tcunha Exp $ */
+/* $Id: tmux.h,v 1.447 2009-09-22 13:49:13 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -543,10 +543,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;
};