From 80cdb6a56a0536464ab62c640ba0109320f2cb90 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Thu, 24 Oct 2002 15:01:18 +0000 Subject: Use compat.h's __XINE_FUNCTION__, so that we get the correct __func__ in a C99 environment, not GNU's extension CVS patchset: 2983 CVS date: 2002/10/24 15:01:18 --- src/xine-utils/list.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/xine-utils/list.c b/src/xine-utils/list.c index 56ba961ef..0bdccc715 100644 --- a/src/xine-utils/list.c +++ b/src/xine-utils/list.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: list.c,v 1.3 2002/09/16 21:49:35 miguelfreitas Exp $ + * $Id: list.c,v 1.4 2002/10/24 15:01:18 jkeil Exp $ * */ #ifdef HAVE_CONFIG_H @@ -54,7 +54,7 @@ void xine_list_free(xine_list_t *l) { xine_node_t *node; if (!l) { - fprintf(stderr, "%s(): No list.\n", __FUNCTION__); + fprintf(stderr, "%s(): No list.\n", __XINE_FUNCTION__); return; } @@ -97,7 +97,7 @@ void *xine_list_next_content (xine_list_t *l) { } else { - fprintf(stderr,"%s() WARNING: passed end of list\n", __FUNCTION__); + fprintf(stderr,"%s() WARNING: passed end of list\n", __XINE_FUNCTION__); return NULL; } } @@ -105,7 +105,7 @@ void *xine_list_next_content (xine_list_t *l) { int xine_list_is_empty (xine_list_t *l) { if (l == NULL){ - fprintf(stderr, "%s(): list is NULL\n", __FUNCTION__); + fprintf(stderr, "%s(): list is NULL\n", __XINE_FUNCTION__); return -1; } return (l->first != NULL); -- cgit v1.2.3