aboutsummaryrefslogtreecommitdiff
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-03-01 14:23:09 +0100
committerBert <ber.t@gmx.com>2011-03-01 14:23:09 +0100
commit955c39a5c5e3193e18c21abe87110651cc2472d2 (patch)
treec9217960b6aa023ce748f9b2c3518f8cc67d62b0 /thumbs.h
parent8919fbd676dccdcb298503326ca7c7194b853ef0 (diff)
Shorter typedefs
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thumbs.h b/thumbs.h
index 0e3650e..af9c239 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -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;