[hackers] [leinwand] fixed struct name || arg

From: <hg_AT_suckless.org>
Date: Thu, 26 Feb 2009 16:47:44 +0000 (UTC)

changeset: 4:05848150cf16
tag: tip
user: arg_AT_garbe.us
date: Thu Feb 26 16:47:39 2009 +0000
files: leinwand.h
description:
fixed struct name

diff -r 409f671eb8dd -r 05848150cf16 leinwand.h
--- a/leinwand.h Thu Feb 26 16:41:39 2009 +0000
+++ b/leinwand.h Thu Feb 26 16:47:39 2009 +0000
@@ -30,28 +30,28 @@
         InputTypeEnd
 } LInputType;
 
-typedef struct _LCompositor LCompositor;
-typedef struct _LDisplay LDisplay;
-typedef struct _LEvent LEvent;
-typedef struct _LImage LImage;
-typedef struct _LInput LInput;
-typedef struct _LRectangle LRectangle;
-typedef struct _LScreen LScreen;
-typedef struct _LSurface LSurface;
+typedef struct LCompositor LCompositor;
+typedef struct LDisplay LDisplay;
+typedef struct LEvent LEvent;
+typedef struct LImage LImage;
+typedef struct LInput LInput;
+typedef struct LRectangle LRectangle;
+typedef struct LScreen LScreen;
+typedef struct LSurface LSurface;
 
-struct _LRectangle {
+struct LRectangle {
         int x;
         int y;
         unsigned int w;
         unsigned int h;
 };
 
-struct _LCompositor {
+struct LCompositor {
         unsigned int id;
         LCompositorType type;
 };
 
-struct _LDisplay {
+struct LDisplay {
         unsigned int id;
         LRectangle r; /* virtual rectangle spanned over all screens */
         LCompositor *compositor;
@@ -60,31 +60,31 @@
         LInput *inputs;
 };
 
-struct _LEvent {
+struct LEvent {
         unsigned int id;
         LEventType type;
 };
 
-struct _LImage{
+struct LImage{
         unsigned int id;
         LRectangle r;
         void *data;
 };
 
-struct _LInput {
+struct LInput {
         unsigned int id;
         LInputType type;
         LInput *next;
 };
 
-struct _LScreen {
+struct LScreen {
         unsigned int id;
         LDisplay *dpy;
         LRectangle r;
         LScreen *next;
 };
 
-struct _LSurface {
+struct LSurface {
         unsigned int id;
         LDisplay *dpy;
         LSurface *parent; /* if parent == NULL, then it's the root surface */
Received on Thu Feb 26 2009 - 16:47:44 UTC

This archive was generated by hypermail 2.2.0 : Thu Feb 26 2009 - 16:48:05 UTC