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