Remove duplicate 'struct real_pcre' declaration
authorRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 10:59:44 +0000 (12:59 +0200)
committerRyan Lortie <desrt@desrt.ca>
Fri, 22 Jul 2011 13:47:24 +0000 (15:47 +0200)
The redundant forward declaration of 'struct real_pcre' before the
typedef was tripping up gtk-doc.  Remove it.

glib/pcre/pcre.h

index 7c4c040..ac32f24 100644 (file)
@@ -209,8 +209,7 @@ these bits, just add new ones on the end, in order to remain compatible. */
 
 /* Types */
 
-struct real_pcre;                 /* declaration; the definition is private  */
-typedef struct real_pcre pcre;
+typedef struct real_pcre pcre;    /* declaration; the definition is private  */
 
 /* When PCRE is compiled as a C++ library, the subject pointer type can be
 replaced with a custom type. For conventional use, the public interface is a