The archive_utility_string_sort function won't be part of the 4.0.0 API
anymore. No users were found and such a task should be done outside of
the library.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
const wchar_t *);
/* Utility functions */
+#if ARCHIVE_VERSION_NUMBER < 4000000
/* Convenience function to sort a NULL terminated list of strings */
__LA_DECL int archive_utility_string_sort(char **);
+#endif
#ifdef __cplusplus
}
#define O_CLOEXEC 0
#endif
+#if ARCHIVE_VERSION_NUMBER < 4000000
static int __LA_LIBC_CC archive_utility_string_sort_helper(const void *, const void *);
+#endif
/* Generic initialization of 'struct archive' objects. */
int
#endif
}
+#if ARCHIVE_VERSION_NUMBER < 4000000
/*
* Utility functions to sort a group of strings using quicksort.
*/
archive_utility_string_sort_helper);
return (ARCHIVE_OK);
}
+#endif