aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authoroga2009-08-24 21:22:48 +0000
committeroga2009-08-24 21:22:48 +0000
commitc460e9758e8fcb33b958beca85d70b67857758d4 (patch)
treec7b727050f8e11bfab7a85ea73440e8f7109914a /screen.c
parent4ab2deedeb800d2e9ab96b2153261c520bec2de5 (diff)
downloadcwm-c460e9758e8fcb33b958beca85d70b67857758d4.tar.gz
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 '')
-rw-r--r--screen.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/screen.c b/screen.c
index d1a5e1b..55136a1 100644
--- a/screen.c
+++ b/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)
{