author | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:07:02 +0000 (12:07 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:07:02 +0000 (12:07 +0200) | ||
commit | ea1ec45e42791efa169ae0ed81a7ea8e1ebad69e | |
tree | 02fa38e8d8392844435af03fc614fa917a8eb356 | tree | snapshot |
parent | c98908f6db5ef29a15a98b0dbc756dc24c8ef38a | commit | diff |
screen: don't store "screen" as a pointer
There can only be onle screen struct instance at a time. Declare it
as a static struct, instead of a pointer to the struct. This
simplifies all accesses, and avoids the dynamic allocation.
There can only be onle screen struct instance at a time. Declare it
as a static struct, instead of a pointer to the struct. This
simplifies all accesses, and avoids the dynamic allocation.
src/screen.c | diff | blob | history |