[glib] Remove duplicate 'struct real_pcre' declaration
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Remove duplicate 'struct real_pcre' declaration
- Date: Fri, 22 Jul 2011 13:47:56 +0000 (UTC)
commit ea63f16c59b661d080c54c44147cedb4ad27e102
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Jul 22 12:59:44 2011 +0200
Remove duplicate 'struct real_pcre' declaration
The redundant forward declaration of 'struct real_pcre' before the
typedef was tripping up gtk-doc. Remove it.
glib/pcre/pcre.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glib/pcre/pcre.h b/glib/pcre/pcre.h
index 7c4c040..ac32f24 100644
--- a/glib/pcre/pcre.h
+++ b/glib/pcre/pcre.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]