Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / PathInfo.h
index 0a189cb..248614f 100644 (file)
@@ -27,6 +27,7 @@ extern "C"
 #include <set>
 #include <map>
 
+#include "zypp/APIConfig.h"
 #include "zypp/Pathname.h"
 #include "zypp/CheckSum.h"
 #include "zypp/ByteCount.h"
@@ -361,6 +362,11 @@ namespace zypp
 
       unsigned int devMajor() const;
       unsigned int devMinor() const;
+
+      /** \deprecated Name clashes with GNU libc macro, use \ref devMajor instead. */
+      unsigned int major() const ZYPP_DEPRECATED;
+      /** \deprecated Name clashes with GNU libc macro, use \ref devMinor instead. */
+      unsigned int minor() const ZYPP_DEPRECATED;
       //@}
 
       /** \name Size info. */