b0b627
# HG changeset patch
b0b627
# User Rob Lemley <rob@thunderbird.net>
b0b627
# Date 1663866531 14400
b0b627
#      Thu Sep 22 13:08:51 2022 -0400
b0b627
# Node ID a863c22903a3fa4c71360920ed77ac31f1fa5d01
b0b627
# Parent  3625a887f020a9a3cb3ad96e5107bfeacd54386e
b0b627
Bug 1790116 - Update rnp_export.h. r=kaie
b0b627
b0b627
The CMake code that generates this file changed with RNP 0.16. The local copy
b0b627
needs to be regenerated.
b0b627
b0b627
File generated with CMake using clang.
b0b627
b0b627
Differential Revision: https://phabricator.services.mozilla.com/D157053
b0b627
b0b627
diff --git a/comm/third_party/rnp/src/lib/rnp/rnp_export.h b/third_party/rnp/src/lib/comm/rnp/rnp_export.h
b0b627
--- a/comm/third_party/rnp/src/lib/rnp/rnp_export.h
b0b627
+++ b/comm/third_party/rnp/src/lib/rnp/rnp_export.h
b0b627
@@ -1,42 +1,42 @@
b0b627
 
b0b627
-#ifndef RNP_API_H
b0b627
-#define RNP_API_H
b0b627
+#ifndef RNP_EXPORT
b0b627
+#define RNP_EXPORT
b0b627
 
b0b627
 #ifdef RNP_STATIC
b0b627
 #  define RNP_API
b0b627
-#  define RNP_RNP_NO_EXPORT
b0b627
+#  define RNP_NO_EXPORT
b0b627
 #else
b0b627
 #  ifndef RNP_API
b0b627
 #    ifdef librnp_EXPORTS
b0b627
         /* We are building this library */
b0b627
-#      define RNP_API __attribute__((visibility("default")))
b0b627
+#      define RNP_API 
b0b627
 #    else
b0b627
         /* We are using this library */
b0b627
-#      define RNP_API __attribute__((visibility("default")))
b0b627
+#      define RNP_API 
b0b627
 #    endif
b0b627
 #  endif
b0b627
 
b0b627
-#  ifndef RNP_RNP_NO_EXPORT
b0b627
-#    define RNP_RNP_NO_EXPORT __attribute__((visibility("hidden")))
b0b627
+#  ifndef RNP_NO_EXPORT
b0b627
+#    define RNP_NO_EXPORT 
b0b627
 #  endif
b0b627
 #endif
b0b627
 
b0b627
-#ifndef RNP_RNP_DEPRECATED
b0b627
-#  define RNP_RNP_DEPRECATED __attribute__ ((__deprecated__))
b0b627
+#ifndef RNP_DEPRECATED
b0b627
+#  define RNP_DEPRECATED __attribute__ ((__deprecated__))
b0b627
 #endif
b0b627
 
b0b627
-#ifndef RNP_RNP_DEPRECATED_EXPORT
b0b627
-#  define RNP_RNP_DEPRECATED_EXPORT RNP_API RNP_RNP_DEPRECATED
b0b627
+#ifndef RNP_DEPRECATED_EXPORT
b0b627
+#  define RNP_DEPRECATED_EXPORT RNP_API RNP_DEPRECATED
b0b627
 #endif
b0b627
 
b0b627
-#ifndef RNP_RNP_DEPRECATED_NO_EXPORT
b0b627
-#  define RNP_RNP_DEPRECATED_NO_EXPORT RNP_RNP_NO_EXPORT RNP_RNP_DEPRECATED
b0b627
+#ifndef RNP_DEPRECATED_NO_EXPORT
b0b627
+#  define RNP_DEPRECATED_NO_EXPORT RNP_NO_EXPORT RNP_DEPRECATED
b0b627
 #endif
b0b627
 
b0b627
 #if 0 /* DEFINE_NO_DEPRECATED */
b0b627
-#  ifndef RNP_RNP_NO_DEPRECATED
b0b627
-#    define RNP_RNP_NO_DEPRECATED
b0b627
+#  ifndef RNP_NO_DEPRECATED
b0b627
+#    define RNP_NO_DEPRECATED
b0b627
 #  endif
b0b627
 #endif
b0b627
 
b0b627
-#endif /* RNP_API_H */
b0b627
+#endif /* RNP_EXPORT */