}
-void lfile_lfun (SRunner *sr, FILE *file, enum print_output printmode,
+void lfile_lfun (SRunner *sr, FILE *file, enum print_output printmode CK_ATTRIBUTE_UNUSED,
void *obj, enum cl_event evt)
{
TestResult *tr;
}
-void xml_lfun (SRunner *sr, FILE *file, enum print_output printmode,
+void xml_lfun (SRunner *sr CK_ATTRIBUTE_UNUSED, FILE *file, enum print_output printmode CK_ATTRIBUTE_UNUSED,
void *obj, enum cl_event evt)
{
TestResult *tr;
}
}
-void tr_xmlprint (FILE *file, TestResult *tr, enum print_output print_mode)
+void tr_xmlprint (FILE *file, TestResult *tr, enum print_output print_mode CK_ATTRIBUTE_UNUSED)
{
char result[10];
char *path_name;
START_TEST(test_fork1p_pass)
{
- pid_t pid;
-
#ifdef _POSIX_VERSION
+ pid_t pid;
+
if((pid = fork()) < 0) {
fail("Failed to fork new process");
} else if (pid > 0) {
START_TEST(test_fork1p_fail)
{
+#ifdef _POSIX_VERSION
pid_t pid;
-#ifdef _POSIX_VERSION
if((pid = fork()) < 0) {
fail("Failed to fork new process");
} else if (pid > 0) {