diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-24 15:01:18 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2002-10-24 15:01:18 +0000 |
commit | 80cdb6a56a0536464ab62c640ba0109320f2cb90 (patch) | |
tree | 2176b89b9bf5c43ed80ecf315efb7d4c0054ca13 /src | |
parent | b81b8bc6400a7a0c67a135663af0771ed27ae2d6 (diff) | |
download | xine-lib-80cdb6a56a0536464ab62c640ba0109320f2cb90.tar.gz xine-lib-80cdb6a56a0536464ab62c640ba0109320f2cb90.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/list.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |