Sync OpenBSD patchset 337:

Drop tiny union from option struct.
This commit is contained in:
Tiago Cunha
2009-09-22 13:49:13 +00:00
parent c28d4e41cf
commit f2d249fdc7
2 changed files with 13 additions and 14 deletions

9
tmux.h
View File

@ -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;
};