diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-08-29 18:51:33 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-08-29 18:51:33 +0000 |
commit | 6b7b3389cce5a660a9ecd7a1fb9d45f2f1e6e2dc (patch) | |
tree | 71f5ce8a55230acbc968e02f9df6759584ef5a1e /app/twm/src/list.h | |
parent | dd8941239e7e7f6312d2804a556ae31a5d0a5695 (diff) |
Update to twm 1.0.11
Diffstat (limited to 'app/twm/src/list.h')
-rw-r--r-- | app/twm/src/list.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/app/twm/src/list.h b/app/twm/src/list.h index ec77dfec4..d9a4acdeb 100644 --- a/app/twm/src/list.h +++ b/app/twm/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, char *name, - XClassHint *class, Pixel *ptr ); -extern char * LookInList ( name_list *list_head, char *name, - XClassHint *class ); -extern char * LookInNameList ( name_list *list_head, 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_ */ |