From 7ea93b9f94175de8fc4235b4590ad1351412bb41 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 22 Mar 2018 15:35:45 +0100 Subject: [PATCH] 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 --- ext/closedcaption/misc.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 -- 2.7.4