diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-23 05:48:34 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2019-11-23 10:54:00 +0000 |
commit | f973b774e8b1732afbe5a41543a2c7d556845c5d (patch) | |
tree | a8ca8e8c68bcd19b7ff62fca1409fdb5be55c287 /src/list.h | |
parent | e2a533d16e047af1c5db19aa9340414b33061d2d (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.h | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -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_ */ |