Fix GstBufferFlag so it's really an enum typedef, not a declaration.
authorDavid Schleef <ds@schleef.org>
Wed, 10 Jul 2002 18:16:44 +0000 (18:16 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 10 Jul 2002 18:16:44 +0000 (18:16 +0000)
Original commit message from CVS:
Fix GstBufferFlag so it's really an enum typedef, not a declaration.

gst/gstbuffer.h

index 386568c..3d54816 100644 (file)
@@ -60,7 +60,7 @@ extern GType _gst_buffer_pool_type;
 #define GST_BUFFER_BUFFERPOOL(buf)             (GST_BUFFER(buf)->pool)
 #define GST_BUFFER_POOL_PRIVATE(buf)           (GST_BUFFER(buf)->pool_private)
 
 #define GST_BUFFER_BUFFERPOOL(buf)             (GST_BUFFER(buf)->pool)
 #define GST_BUFFER_POOL_PRIVATE(buf)           (GST_BUFFER(buf)->pool_private)
 
-enum {
+typedef enum {
   GST_BUFFER_READONLY   = GST_DATA_FLAG_LAST,
   GST_BUFFER_SUBBUFFER,
   GST_BUFFER_ORIGINAL,
   GST_BUFFER_READONLY   = GST_DATA_FLAG_LAST,
   GST_BUFFER_SUBBUFFER,
   GST_BUFFER_ORIGINAL,