From: Edward Hervey Date: Thu, 22 Mar 2018 14:35:45 +0000 (+0100) Subject: closedcaption: zvbi: Comment out bogus redefinition X-Git-Tag: 1.19.3~507^2~4158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ea93b9f94175de8fc4235b4590ad1351412bb41;p=platform%2Fupstream%2Fgstreamer.git closedcaption: zvbi: Comment out bogus redefinition All this code should be converted to glib eventually, but for now just comment out a function which isn't even used --- diff --git a/ext/closedcaption/misc.h b/ext/closedcaption/misc.h index f978a51..08298c4 100644 --- a/ext/closedcaption/misc.h +++ b/ext/closedcaption/misc.h @@ -480,15 +480,15 @@ _vbi_strlcpy (char * dst, size_t size) _vbi_nonnull ((1, 2)); -/* strndup() is a BSD/GNU extension. */ -#ifndef HAVE_STRNDUP -# define strndup _vbi_strndup -#endif - -extern char * -_vbi_strndup (const char * s, - size_t len) - _vbi_nonnull ((1)); +/* /\* strndup() is a BSD/GNU extension. *\/ */ +/* #ifndef HAVE_STRNDUP */ +/* # define strndup _vbi_strndup */ +/* #endif */ + +/* extern char * */ +/* _vbi_strndup (const char * s, */ +/* size_t len) */ +/* _vbi_nonnull ((1)); */ /* vasprintf() is a GNU extension. */ #ifndef HAVE_VASPRINTF