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