diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
commit | 39bbb6265aa79c1ff3d787f5e23c8cb5f13bd6c1 (patch) | |
tree | e85b1d8ddbda62f72e7deebb33f7f48dc5aaad40 /x11.h | |
parent | a70f4e6f7243e9e6803b3308a15c9cf3a77ee383 (diff) | |
download | xscope-39bbb6265aa79c1ff3d787f5e23c8cb5f13bd6c1.tar.gz |
Make CS dynamically allocated
We still allocate one ConnState struct for every possible FD up front
instead of resizing as needed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'x11.h')
-rw-r--r-- | x11.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -508,7 +508,7 @@ struct ConnState long SequenceNumber; }; -extern struct ConnState CS[StaticMaxFD]; +extern struct ConnState *CS; typedef struct _Value { struct _Value *next; |