diff options
author | Bert <ber.t@gmx.com> | 2011-03-01 14:23:09 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-03-01 14:23:09 +0100 |
commit | 955c39a5c5e3193e18c21abe87110651cc2472d2 (patch) | |
tree | c9217960b6aa023ce748f9b2c3518f8cc67d62b0 /thumbs.h | |
parent | 8919fbd676dccdcb298503326ca7c7194b853ef0 (diff) |
Shorter typedefs
Diffstat (limited to 'thumbs.h')
-rw-r--r-- | thumbs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,14 +21,14 @@ #include "window.h" -typedef enum tnsdir_e { +typedef enum { TNS_LEFT = 0, TNS_RIGHT, TNS_UP, TNS_DOWN } tnsdir_t; -typedef struct thumb_s { +typedef struct { Pixmap pm; int x; int y; @@ -36,7 +36,7 @@ typedef struct thumb_s { int h; } thumb_t; -typedef struct tns_s { +typedef struct { thumb_t *thumbs; int cap; int cnt; |