summaryrefslogtreecommitdiff
path: root/src/icons.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-23 05:48:34 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2019-11-23 05:48:34 -0500
commit077a496c38fc993d7691ce5aab1e9c2b4aee4b02 (patch)
treea426a7cb6deae949b6d6931ca6c0bd371a9ad9ac /src/icons.h
parent2e0923ba703d040160bac1deb05d5d6d4cbd62aa (diff)
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 <dickey@invisible-island.net>
Diffstat (limited to 'src/icons.h')
-rw-r--r--src/icons.h42
1 files changed, 20 insertions, 22 deletions
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 */