Add a cast.

* glib.h (g_trash_stack_push): Add a cast.

	* gslist.c
	* glist.c: Make the inline functions static inline, and add
	separate extern wrappers. Not all compilers produce callable entry
	points for inline functions, even if gcc does.
This commit is contained in:
Tor Lillqvist
1999-08-17 17:41:01 +00:00
parent 36a4ad3713
commit 80c44ef391
14 changed files with 216 additions and 68 deletions

2
glib.h
View File

@@ -1669,7 +1669,7 @@ G_INLINE_FUNC void
g_trash_stack_push (GTrashStack **stack_p,
gpointer data_p)
{
GTrashStack *data = data_p;
GTrashStack *data = (GTrashStack *) data_p;
data->next = *stack_p;
*stack_p = data;