+
+/* Custom upgrade 2.12 to 2.13 */
+
+#undef lttng_ust_add_fd_to_tracker
+#undef lttng_ust_delete_fd_from_tracker
+#undef lttng_ust_lock_fd_tracker
+#undef lttng_ust_unlock_fd_tracker
+#undef lttng_ust_safe_close_fd
+#undef lttng_ust_safe_fclose_stream
+#undef lttng_ust_safe_closefrom_fd
+
+int lttng_ust_add_fd_to_tracker1(int fd)
+ __attribute__ ((alias ("lttng_ust_add_fd_to_tracker_orig")));
+void lttng_ust_delete_fd_from_tracker1(int fd)
+ __attribute__ ((alias ("lttng_ust_delete_fd_from_tracker_orig")));
+void lttng_ust_lock_fd_tracker1(void)
+ __attribute__ ((alias ("lttng_ust_lock_fd_tracker_orig")));
+void lttng_ust_unlock_fd_tracker1(void)
+ __attribute__ ((alias ("lttng_ust_unlock_fd_tracker_orig")));
+int lttng_ust_safe_close_fd1(int fd, int (*close_cb)(int))
+ __attribute__ ((alias ("lttng_ust_safe_close_fd_orig")));
+int lttng_ust_safe_fclose_stream1(FILE *stream, int (*fclose_cb)(FILE *stream))
+ __attribute__ ((alias ("lttng_ust_safe_fclose_stream_orig")));
+int lttng_ust_safe_closefrom_fd1(int lowfd, int (*close_cb)(int))
+ __attribute__ ((alias ("lttng_ust_safe_closefrom_fd_orig")));
+
+#ifdef LTTNG_UST_CUSTOM_UPGRADE_CONFLICTING_SYMBOLS
+int lttng_ust_add_fd_to_tracker(int fd)
+ __attribute__ ((alias ("lttng_ust_add_fd_to_tracker_orig")));
+void lttng_ust_delete_fd_from_tracker(int fd)
+ __attribute__ ((alias ("lttng_ust_delete_fd_from_tracker_orig")));
+void lttng_ust_lock_fd_tracker(void)
+ __attribute__ ((alias ("lttng_ust_lock_fd_tracker_orig")));
+void lttng_ust_unlock_fd_tracker(void)
+ __attribute__ ((alias ("lttng_ust_unlock_fd_tracker_orig")));
+int lttng_ust_safe_close_fd(int fd, int (*close_cb)(int))
+ __attribute__ ((alias ("lttng_ust_safe_close_fd_orig")));
+int lttng_ust_safe_fclose_stream(FILE *stream, int (*fclose_cb)(FILE *stream))
+ __attribute__ ((alias ("lttng_ust_safe_fclose_stream_orig")));
+int lttng_ust_safe_closefrom_fd(int lowfd, int (*close_cb)(int))
+ __attribute__ ((alias ("lttng_ust_safe_closefrom_fd_orig")));
+#endif