]> Git Repo - qemu.git/blobdiff - tests/boot-sector.h
iotests: Add preallocated growth test for qcow2
[qemu.git] / tests / boot-sector.h
index 38be0290e32cd77a1582a2b76d8ac1d6baecf969..35d61c7e2bd0326355a169c3733f6146878a5c80 100644 (file)
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef TEST_BOOT_SECTOR
-#define TEST_BOOT_SECTOR
+#ifndef TEST_BOOT_SECTOR_H
+#define TEST_BOOT_SECTOR_H
 
-/* Create boot disk file.  */
-int boot_sector_init(const char *fname);
+/* Create boot disk file. fname must be a suitable string for mkstemp() */
+int boot_sector_init(char *fname);
 
 /* Loop until signature in memory is OK.  */
 void boot_sector_test(void);
@@ -23,4 +23,4 @@ void boot_sector_test(void);
 /* unlink boot disk file.  */
 void boot_sector_cleanup(const char *fname);
 
-#endif /* TEST_BOOT_SECTOR */
+#endif /* TEST_BOOT_SECTOR_H */
This page took 0.020515 seconds and 4 git commands to generate.