From 530ba72be38719c9857afecea9e77fe1c5df3137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 19 Dec 2007 01:40:26 +0100 Subject: Remove xine_strdupa declaration, and macro. --- src/xine-utils/xineutils.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 3296b2ba9..4ff87e87c 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -657,21 +657,6 @@ char *xine_chomp (char *str) XINE_PROTECTED; */ void xine_usec_sleep(unsigned usec) XINE_PROTECTED; - - /* - * Some string functions - */ - - -void xine_strdupa(char *dest, char *src) XINE_PROTECTED; -#define xine_strdupa(d, s) do { \ - (d) = NULL; \ - if((s) != NULL) { \ - (d) = (char *) alloca(strlen((s)) + 1); \ - strcpy((d), (s)); \ - } \ - } while(0) - /* compatibility macros */ #define xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT)) #define xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM)) -- cgit v1.2.3