closedcaption: zvbi: Comment out bogus redefinition
authorEdward Hervey <edward@centricular.com>
Thu, 22 Mar 2018 14:35:45 +0000 (15:35 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 28 May 2018 13:04:02 +0000 (15:04 +0200)
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

index f978a51..08298c4 100644 (file)
@@ -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