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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ext/closedcaption/misc.h b/ext/closedcaption/misc.h index f978a51d76..08298c42a4 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 +/* /\* 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)); +/* extern char * */ +/* _vbi_strndup (const char * s, */ +/* size_t len) */ +/* _vbi_nonnull ((1)); */ /* vasprintf() is a GNU extension. */ #ifndef HAVE_VASPRINTF