From f767a5a29c35a96f09bbcb5193fa809994db4904 Mon Sep 17 00:00:00 2001
From: James Zern <jzern@google.com>
Date: Thu, 20 May 2010 13:14:17 -0400
Subject: [PATCH] Name all external facing structs

Replace all anonymous structs with struct name matching current typedef
minus _t.

Change-Id: I639295e8f1bc4651fffc9286a7dba5171c92ce92
---
 vpx_codec/internal/vpx_codec_internal.h | 2 +-
 vpx_codec/vpx_codec.h                   | 2 +-
 vpx_codec/vpx_decoder.h                 | 2 +-
 vpx_codec/vpx_image.h                   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vpx_codec/internal/vpx_codec_internal.h b/vpx_codec/internal/vpx_codec_internal.h
index 08675520b2..e95d603e8d 100644
--- a/vpx_codec/internal/vpx_codec_internal.h
+++ b/vpx_codec/internal/vpx_codec_internal.h
@@ -314,7 +314,7 @@ struct vpx_codec_iface
 };
 
 /*!\brief Callback function pointer / user data pair storage */
-typedef struct
+typedef struct vpx_codec_priv_cb_pair
 {
     union
     {
diff --git a/vpx_codec/vpx_codec.h b/vpx_codec/vpx_codec.h
index e2a79f911b..d18505c69c 100644
--- a/vpx_codec/vpx_codec.h
+++ b/vpx_codec/vpx_codec.h
@@ -196,7 +196,7 @@ extern "C" {
      * may reference the 'name' member to get a printable description of the
      * algorithm.
      */
-    typedef struct
+    typedef struct vpx_codec_ctx
     {
         const char              *name;        /**< Printable interface name */
         vpx_codec_iface_t       *iface;       /**< Interface pointers */
diff --git a/vpx_codec/vpx_decoder.h b/vpx_codec/vpx_decoder.h
index 5e4968de5e..ab0818f04a 100644
--- a/vpx_codec/vpx_decoder.h
+++ b/vpx_codec/vpx_decoder.h
@@ -68,7 +68,7 @@ extern "C" {
      * stream. Algorithms may extend this structure with data specific
      * to their bitstream by setting the sz member appropriately.
      */
-    typedef struct
+    typedef struct vpx_codec_stream_info
     {
         unsigned int sz;     /**< Size of this structure */
         unsigned int w;      /**< Width (or 0 for unknown/default) */
diff --git a/vpx_codec/vpx_image.h b/vpx_codec/vpx_image.h
index a8a941674b..09def8f0e5 100644
--- a/vpx_codec/vpx_image.h
+++ b/vpx_codec/vpx_image.h
@@ -60,7 +60,7 @@ extern "C" {
 
 
     /**\brief Image Descriptor */
-    typedef struct
+    typedef struct vpx_image
     {
         img_fmt_t     fmt; /**< Image Format */
 
-- 
GitLab