[xiph-commits] r18171 - icecast/trunk/libshout/src

giles at svn.xiph.org giles at svn.xiph.org
Wed Feb 1 16:11:09 PST 2012


Author: giles
Date: 2012-02-01 16:11:09 -0800 (Wed, 01 Feb 2012)
New Revision: 18171

Modified:
   icecast/trunk/libshout/src/webm.c
Log:
Empty structs aren't portable.


Modified: icecast/trunk/libshout/src/webm.c
===================================================================
--- icecast/trunk/libshout/src/webm.c	2012-02-01 23:59:25 UTC (rev 18170)
+++ icecast/trunk/libshout/src/webm.c	2012-02-02 00:11:09 UTC (rev 18171)
@@ -34,10 +34,9 @@
 #include "shout_private.h"
 
 /* -- local datatypes -- */
-typedef struct {
-  /* no local state */
-} webm_data_t;
 
+/* no local state */
+
 /* -- static prototypes -- */
 static int send_webm(shout_t *self, const unsigned char *data, size_t len);
 static void close_webm(shout_t *self);
@@ -64,5 +63,5 @@
 
 static void close_webm(shout_t *self)
 {
-	/* no private state */
+	/* no local state */
 }



More information about the commits mailing list