From 077a496c38fc993d7691ce5aab1e9c2b4aee4b02 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 23 Nov 2019 05:48:34 -0500 Subject: Formatted most of the C files using "twm-indent", part of cindent at https://invisible-island.net/cindent/ That is essentially a script which adds typedefs to the x-indent.sh script. No object-code changed in this reformatting. Signed-off-by: Thomas E. Dickey --- src/icons.h | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'src/icons.h') diff --git a/src/icons.h b/src/icons.h index f05e8ff..4945967 100644 --- a/src/icons.h +++ b/src/icons.h @@ -34,27 +34,25 @@ in this Software without prior written authorization from The Open Group. #ifndef ICONS_H #define ICONS_H -typedef struct IconRegion -{ - struct IconRegion *next; - int x, y, w, h; - int grav1, grav2; - int stepx, stepy; /* allocation granularity */ - struct IconEntry *entries; +typedef struct IconRegion { + struct IconRegion *next; + int x, y, w, h; + int grav1, grav2; + int stepx, stepy; /* allocation granularity */ + struct IconEntry *entries; } IconRegion; -typedef struct IconEntry -{ - struct IconEntry *next; - int x, y, w, h; - TwmWindow *twm_win; - short used; -}IconEntry; - -extern void IconUp ( TwmWindow *tmp_win ); -extern void IconDown ( TwmWindow *tmp_win ); -extern void AddIconRegion ( char *geom, int grav1, int grav2, - int stepx, int stepy ); -extern void CreateIconWindow ( TwmWindow *tmp_win, int def_x, int def_y ); - -#endif /* ICONS_H */ +typedef struct IconEntry { + struct IconEntry *next; + int x, y, w, h; + TwmWindow *twm_win; + short used; +} IconEntry; + +extern void IconUp(TwmWindow *tmp_win); +extern void IconDown(TwmWindow *tmp_win); +extern void AddIconRegion(char *geom, int grav1, int grav2, + int stepx, int stepy); +extern void CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y); + +#endif /* ICONS_H */ -- cgit v1.2.3