[Pkg-wmaker-commits] [wmressel] 05/06: Import Debian changes 0.8-5.1
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 27 13:15:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmressel.
commit 9f19282ab1375aad42eed296bb2b5de21039f25d
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jul 19 17:32:42 2015 +0200
Import Debian changes 0.8-5.1
wmressel (0.8-5.1) unstable; urgency=medium
* Non-maintainer upload.
* Fix "ftbfs with GCC-5": apply patch from Elizabeth J Dall:
add extern to the INLINE functions.
(Closes: #778173)
---
debian/changelog | 9 +++++++++
src/wmgeneral/list.c | 18 +++++++++---------
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2dac203..2b48e21 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+wmressel (0.8-5.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "ftbfs with GCC-5": apply patch from Elizabeth J Dall:
+ add extern to the INLINE functions.
+ (Closes: #778173)
+
+ -- gregor herrmann <gregoa at debian.org> Sun, 19 Jul 2015 17:32:42 +0200
+
wmressel (0.8-5) unstable; urgency=low
* Patched wmressel to use to link against gtk 2.0 instead of 1.2.
diff --git a/src/wmgeneral/list.c b/src/wmgeneral/list.c
index f804b2c..7ae2470 100644
--- a/src/wmgeneral/list.c
+++ b/src/wmgeneral/list.c
@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
/* Return a cons cell produced from (head . tail) */
-INLINE LinkedList*
+extern INLINE LinkedList*
list_cons(void* head, LinkedList* tail)
{
LinkedList* cell;
@@ -51,7 +51,7 @@ list_cons(void* head, LinkedList* tail)
/* Return the length of a list, list_length(NULL) returns zero */
-INLINE int
+extern INLINE int
list_length(LinkedList* list)
{
int i = 0;
@@ -66,7 +66,7 @@ list_length(LinkedList* list)
/* Return the Nth element of LIST, where N count from zero. If N
larger than the list length, NULL is returned */
-INLINE void*
+extern INLINE void*
list_nth(int index, LinkedList* list)
{
while(index-- != 0)
@@ -81,7 +81,7 @@ list_nth(int index, LinkedList* list)
/* Remove the element at the head by replacing it by its successor */
-INLINE void
+extern INLINE void
list_remove_head(LinkedList** list)
{
if (!*list) return;
@@ -101,7 +101,7 @@ list_remove_head(LinkedList** list)
/* Remove the element with `car' set to ELEMENT */
/*
-INLINE void
+extern INLINE void
list_remove_elem(LinkedList** list, void* elem)
{
while (*list)
@@ -112,7 +112,7 @@ list_remove_elem(LinkedList** list, void* elem)
}
}*/
-INLINE LinkedList *
+extern INLINE LinkedList *
list_remove_elem(LinkedList* list, void* elem)
{
LinkedList *tmp;
@@ -132,7 +132,7 @@ list_remove_elem(LinkedList* list, void* elem)
/* Return element that has ELEM as car */
-INLINE LinkedList*
+extern INLINE LinkedList*
list_find(LinkedList* list, void* elem)
{
while(list)
@@ -146,7 +146,7 @@ list_find(LinkedList* list, void* elem)
/* Free list (backwards recursive) */
-INLINE void
+extern INLINE void
list_free(LinkedList* list)
{
if(list)
@@ -158,7 +158,7 @@ list_free(LinkedList* list)
/* Map FUNCTION over all elements in LIST */
-INLINE void
+extern INLINE void
list_mapcar(LinkedList* list, void(*function)(void*))
{
while(list)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmressel.git
More information about the Pkg-wmaker-commits
mailing list