[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] Allow use headers in C++.



Dne 14.6.2010 18:20, Milan Broz napsal(a):
Remove C++ private keyword from header.
Add extern C definition for libdevmapper and lvm2app.
---
  libdm/libdevmapper.h |   13 ++++++++++---
  libdm/libdm-report.c |    4 ++--
  liblvm/lvm2app.h     |    6 ++++++
  3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h
index 0b67a0f..7c72cf7 100644
--- a/libdm/libdevmapper.h
+++ b/libdm/libdevmapper.h
@@ -1,6 +1,6 @@


Ack

When we do this for libdevmapper.h and lvm2app.h, then for consistency C++ externs should be applied to remaing user exported headers:

libdevmapper-event.h
lvm2cmd.h

Zdenek


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]