Skip to contentSkip to conversation

master - lvm2app: Remove forward declarations.

PATCH tasleson 1 participant 1 message Nov 19, 2013

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=12d5e53953f1dacd911190cacc153dc2343878fe
Commit:        12d5e53953f1dacd911190cacc153dc2343878fe
Parent:        fe5b538c14c47e2e206d13c17f0225e39470d720
Author:        Tony Asleson <[email protected]>
AuthorDate:    Thu Oct 3 16:06:05 2013 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Tue Nov 19 14:40:44 2013 -0600

lvm2app: Remove forward declarations.

Remove the forward struct declaration. This isn't needed for implementing opaque data pointers.

---
 liblvm/lvm2app.h |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)
liblvm/lvm2app.h +7 -14
index 0940b6f..a91640a 100644
@@ -84,20 +84,13 @@ const char *lvm_library_get_version(void);
 /******************************** structures ********************************/
 
 /**
- * Opaque structures - do not use directly.  Internal structures may change
- * without notice between releases, whereas this API will be changed much less
- * frequently.  Backwards compatibility will normally be preserved in future
- * releases.  On any occasion when the developers do decide to break backwards
- * compatibility in any significant way, the LVM_LIBAPI number (included in
- * the library's soname) will be incremented.
- */
-struct lvm;
-struct physical_volume;
-struct volume_group;
-struct logical_volume;
-struct lv_segment;
-struct pv_segment;
-struct lvm_lv_create_params;
+ * Opaque C pointers - Internal structures may change without notice between
+ * releases, whereas this API will be changed much less frequently.  Backwards
+ * compatibility will normally be preserved in future releases.  On any occasion
+ * when the developers do decide to break backwards compatibility in any
+ * significant way, the LVM_LIBAPI number (included in the library's soname)
+ * will be incremented.
+ */
 
 /**
  * \class lvm_t