diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-08-24 21:22:49 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-08-24 21:22:49 +0000 |
commit | ed1b5563c4641e53c0e59162f18a28dc0787510e (patch) | |
tree | b874b4920646d2245330a7d590106078fd7bbd02 /app/cwm/screen.c | |
parent | 4ac4d273221fc7e814f4148fe824e686034d8937 (diff) |
Instead of having a function that just calls TAILQ_INIT on a global, use
TAILQ_HEAD_INITIALIZER() and drop the function.
ok okan@
Diffstat (limited to 'app/cwm/screen.c')
-rw-r--r-- | app/cwm/screen.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c index d1a5e1bea..55136a126 100644 --- a/app/cwm/screen.c +++ b/app/cwm/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: screen.c,v 1.16 2009/06/26 12:21:58 okan Exp $ + * $Id: screen.c,v 1.17 2009/08/24 21:22:48 oga Exp $ */ #include "headers.h" @@ -23,12 +23,6 @@ extern struct screen_ctx *Curscreen; -void -screen_init(void) -{ - TAILQ_INIT(&Screenq); -} - struct screen_ctx * screen_fromroot(Window rootwin) { |