summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-03-22 15:35:45 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-03-22 15:35:45 +0100
commit939e5afd43028c2d677e1b1822b000f669842318 (patch)
treec96fcc1258bc51e48ec56409435460432c7ce4c1
parentf1f997d1d862b29d6f88a5aa35c94f46228d4cf4 (diff)
closedcaption: 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
-rw-r--r--gst/closedcaption/misc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gst/closedcaption/misc.h b/gst/closedcaption/misc.h
index 393d0c817..bdc04ecfb 100644
--- a/gst/closedcaption/misc.h
+++ b/gst/closedcaption/misc.h
@@ -482,15 +482,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