mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
WMScript allows to specify a command and have the numeric result of that command displayed in the dock app's window. Up to 5 things to monitor, the interval is configurable. See http://freshmeat.sourceforge.net/projects/wmscript for details. PR: 253346 Submitted by: Igor Pokrovsky <ip@unixway.org> (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D28558
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
--- wmgeneral/list.h.orig 1998-11-14 22:36:10 UTC
|
|
+++ wmgeneral/list.h
|
|
@@ -40,20 +40,20 @@ typedef struct LinkedList {
|
|
struct LinkedList *tail;
|
|
} LinkedList;
|
|
|
|
-INLINE LinkedList* list_cons(void* head, LinkedList* tail);
|
|
+extern INLINE LinkedList* list_cons(void* head, LinkedList* tail);
|
|
|
|
-INLINE int list_length(LinkedList* list);
|
|
+extern INLINE int list_length(LinkedList* list);
|
|
|
|
-INLINE void* list_nth(int index, LinkedList* list);
|
|
+extern INLINE void* list_nth(int index, LinkedList* list);
|
|
|
|
-INLINE void list_remove_head(LinkedList** list);
|
|
+extern INLINE void list_remove_head(LinkedList** list);
|
|
|
|
-INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem);
|
|
+extern INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem);
|
|
|
|
-INLINE void list_mapcar(LinkedList* list, void(*function)(void*));
|
|
+extern INLINE void list_mapcar(LinkedList* list, void(*function)(void*));
|
|
|
|
-INLINE LinkedList*list_find(LinkedList* list, void* elem);
|
|
+extern INLINE LinkedList*list_find(LinkedList* list, void* elem);
|
|
|
|
-INLINE void list_free(LinkedList* list);
|
|
+extern INLINE void list_free(LinkedList* list);
|
|
|
|
#endif
|