From 39bbb6265aa79c1ff3d787f5e23c8cb5f13bd6c1 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 30 Sep 2011 20:19:44 -0700 Subject: 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 Reviewed-by: Jeremy Huddleston --- x11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11.h') diff --git a/x11.h b/x11.h index 7303e1d..90f0e33 100644 --- a/x11.h +++ b/x11.h @@ -508,7 +508,7 @@ struct ConnState long SequenceNumber; }; -extern struct ConnState CS[StaticMaxFD]; +extern struct ConnState *CS; typedef struct _Value { struct _Value *next; -- cgit v1.2.1