diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-19 01:40:26 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-19 01:40:26 +0100 |
commit | 530ba72be38719c9857afecea9e77fe1c5df3137 (patch) | |
tree | d41f651e9ee355e2b2be9fa49db4802e9129bd4c | |
parent | a7047f7c6c5d3b552afb51d7570f1a500ba868aa (diff) | |
download | xine-lib-530ba72be38719c9857afecea9e77fe1c5df3137.tar.gz xine-lib-530ba72be38719c9857afecea9e77fe1c5df3137.tar.bz2 |
Remove xine_strdupa declaration, and macro.
-rw-r--r-- | src/xine-utils/xineutils.h | 15 |
1 files changed, 0 insertions, 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)) |