From 955c39a5c5e3193e18c21abe87110651cc2472d2 Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 1 Mar 2011 14:23:09 +0100 Subject: Shorter typedefs --- thumbs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thumbs.h') 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; -- cgit v1.2.3