summaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-23 05:48:34 -0500
committerThomas E. Dickey <dickey@his.com>2019-11-23 10:54:00 +0000
commitf973b774e8b1732afbe5a41543a2c7d556845c5d (patch)
treea8ca8e8c68bcd19b7ff62fca1409fdb5be55c287 /src/list.h
parente2a533d16e047af1c5db19aa9340414b33061d2d (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/list.h')
-rw-r--r--src/list.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/list.h b/src/list.h
index bb6fbc8..d9a4acd 100644
--- a/src/list.h
+++ b/src/list.h
@@ -49,7 +49,6 @@ in this Software without prior written authorization from The Open Group.
/** OR PERFORMANCE OF THIS SOFTWARE. **/
/*****************************************************************************/
-
/**********************************************************************
*
* TWM list handling external definitions
@@ -67,15 +66,13 @@ in this Software without prior written authorization from The Open Group.
typedef struct name_list_struct name_list;
-extern void AddToList ( name_list **list_head, char *name, char *ptr );
-extern void FreeList ( name_list **list );
-
-extern int GetColorFromList ( name_list *list_head, const char *name,
- XClassHint *class, Pixel *ptr );
-extern char * LookInList ( name_list *list_head, const char *name,
- XClassHint *class );
-extern char * LookInNameList ( name_list *list_head, const char *name );
-
+extern void AddToList(name_list ** list_head, char *name, char *ptr);
+extern void FreeList(name_list ** list);
-#endif /* _LIST_ */
+extern int GetColorFromList(name_list * list_head, const char *name,
+ XClassHint *class, Pixel *ptr);
+extern char *LookInList(name_list * list_head, const char *name,
+ XClassHint *class);
+extern char *LookInNameList(name_list * list_head, const char *name);
+#endif /* _LIST_ */