* On other platforms, the characters to be Form C.
*/
static void
-test_archive_string_normalization()
+test_archive_string_normalization(void)
{
struct archive *a;
struct archive_entry *ae;
#include <locale.h>
static void
-test_gnutar_filename_encoding_UTF8_CP866()
+test_gnutar_filename_encoding_UTF8_CP866(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_KOI8R_UTF8()
+test_gnutar_filename_encoding_KOI8R_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_KOI8R_CP866()
+test_gnutar_filename_encoding_KOI8R_CP866(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_CP1251_UTF8()
+test_gnutar_filename_encoding_CP1251_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
* Do not translate CP1251 into CP866 if non Windows platform.
*/
static void
-test_gnutar_filename_encoding_ru_RU_CP1251()
+test_gnutar_filename_encoding_ru_RU_CP1251(void)
{
struct archive *a;
struct archive_entry *entry;
* Test above behavior works well.
*/
static void
-test_gnutar_filename_encoding_Russian_Russia()
+test_gnutar_filename_encoding_Russian_Russia(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_EUCJP_UTF8()
+test_gnutar_filename_encoding_EUCJP_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_EUCJP_CP932()
+test_gnutar_filename_encoding_EUCJP_CP932(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_gnutar_filename_encoding_CP932_UTF8()
+test_gnutar_filename_encoding_CP932_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
static ssize_t
my_read(struct archive *a, void *_private, const void **buff)
{
+ (void)a; /* UNUSED */
+ (void)buff; /* UNUSED */
struct my_data *private = (struct my_data *)_private;
assertEqualInt(MAGIC, private->magic);
++private->read_called;
static ssize_t
my_write(struct archive *a, void *_private, const void *buff, size_t s)
{
+ (void)a; /* UNUSED */
+ (void)buff; /* UNUSED */
+ (void)s; /* UNUSED */
struct my_data *private = (struct my_data *)_private;
assertEqualInt(MAGIC, private->magic);
++private->write_called;
static int
my_open(struct archive *a, void *_private)
{
+ (void)a; /* UNUSED */
struct my_data *private = (struct my_data *)_private;
assertEqualInt(MAGIC, private->magic);
++private->open_called;
static int
my_close(struct archive *a, void *_private)
{
+ (void)a; /* UNUSED */
struct my_data *private = (struct my_data *)_private;
assertEqualInt(MAGIC, private->magic);
++private->close_called;
* Verify that KOI8-R filenames are correctly translated to Unicode and UTF-8.
*/
static void
-test_pax_filename_encoding_KOI8R()
+test_pax_filename_encoding_KOI8R(void)
{
struct archive *a;
struct archive_entry *entry;
* Verify that CP1251 filenames are correctly translated to Unicode and UTF-8.
*/
static void
-test_pax_filename_encoding_CP1251()
+test_pax_filename_encoding_CP1251(void)
{
struct archive *a;
struct archive_entry *entry;
* Verify that EUC-JP filenames are correctly translated to Unicode and UTF-8.
*/
static void
-test_pax_filename_encoding_EUCJP()
+test_pax_filename_encoding_EUCJP(void)
{
struct archive *a;
struct archive_entry *entry;
* Verify that CP932/SJIS filenames are correctly translated to Unicode and UTF-8.
*/
static void
-test_pax_filename_encoding_CP932()
+test_pax_filename_encoding_CP932(void)
{
struct archive *a;
struct archive_entry *entry;
* when using hdrcharset=BINARY option.
*/
static void
-test_pax_filename_encoding_KOI8R_BINARY()
+test_pax_filename_encoding_KOI8R_BINARY(void)
{
struct archive *a;
struct archive_entry *entry;
* If other character-set name is specified, you will get ARCHIVE_FAILED.
*/
static void
-test_pax_filename_encoding_KOI8R_CP1251()
+test_pax_filename_encoding_KOI8R_CP1251(void)
{
struct archive *a;
#endif
static void
-test_basic()
+test_basic(void)
{
struct archive *a;
struct archive_entry *ae;
}
static void
-test_symlink_hybrid()
+test_symlink_hybrid(void)
{
struct archive *a;
struct archive_entry *ae;
}
static void
-test_symlink_logical()
+test_symlink_logical(void)
{
struct archive *a;
struct archive_entry *ae;
}
static void
-test_symlink_logical_loop()
+test_symlink_logical_loop(void)
{
struct archive *a;
struct archive_entry *ae;
}
static void
-test_restore_atime()
+test_restore_atime(void)
{
struct archive *a;
struct archive_entry *ae;
*/
static void
-test_basic()
+test_basic(void)
{
const char *refname = "test_read_format_zip.zip";
struct archive_entry *ae;
* Currently sotres Unix UID/GID up to 32 bits.
*/
static void
-test_info_zip_ux()
+test_info_zip_ux(void)
{
const char *refname = "test_read_format_zip_ux.zip";
struct archive_entry *ae;
#include <locale.h>
static void
-test_ustar_filename_encoding_UTF8_CP866()
+test_ustar_filename_encoding_UTF8_CP866(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_KOI8R_UTF8()
+test_ustar_filename_encoding_KOI8R_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_KOI8R_CP866()
+test_ustar_filename_encoding_KOI8R_CP866(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_CP1251_UTF8()
+test_ustar_filename_encoding_CP1251_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
* Do not translate CP1251 into CP866 if non Windows platform.
*/
static void
-test_ustar_filename_encoding_ru_RU_CP1251()
+test_ustar_filename_encoding_ru_RU_CP1251(void)
{
struct archive *a;
struct archive_entry *entry;
* Test above behavior works well.
*/
static void
-test_ustar_filename_encoding_Russian_Russia()
+test_ustar_filename_encoding_Russian_Russia(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_EUCJP_UTF8()
+test_ustar_filename_encoding_EUCJP_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_EUCJP_CP932()
+test_ustar_filename_encoding_EUCJP_CP932(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_ustar_filename_encoding_CP932_UTF8()
+test_ustar_filename_encoding_CP932_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
#include <locale.h>
static void
-test_zip_filename_encoding_UTF8()
+test_zip_filename_encoding_UTF8(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_zip_filename_encoding_KOI8R()
+test_zip_filename_encoding_KOI8R(void)
{
struct archive *a;
struct archive_entry *entry;
* Do not translate CP1251 into CP866 if non Windows platform.
*/
static void
-test_zip_filename_encoding_ru_RU_CP1251()
+test_zip_filename_encoding_ru_RU_CP1251(void)
{
struct archive *a;
struct archive_entry *entry;
* Test above behavior works well.
*/
static void
-test_zip_filename_encoding_Russian_Russia()
+test_zip_filename_encoding_Russian_Russia(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_zip_filename_encoding_EUCJP()
+test_zip_filename_encoding_EUCJP(void)
{
struct archive *a;
struct archive_entry *entry;
}
static void
-test_zip_filename_encoding_CP932()
+test_zip_filename_encoding_CP932(void)
{
struct archive *a;
struct archive_entry *entry;