Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rt-tests for openSUSE:Factory 
checked in at 2025-09-09 20:30:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rt-tests (Old)
 and      /work/SRC/openSUSE:Factory/.rt-tests.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rt-tests"

Tue Sep  9 20:30:58 2025 rev:14 rq:1303390 version:2.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/rt-tests/rt-tests.changes        2025-03-11 
20:47:09.598811519 +0100
+++ /work/SRC/openSUSE:Factory/.rt-tests.new.1977/rt-tests.changes      
2025-09-09 20:31:32.376499578 +0200
@@ -1,0 +2,9 @@
+Tue Sep  9 06:46:58 UTC 2025 - Petr Vorel <[email protected]>
+
+- Update to version 2.9:
+  
https://lore.kernel.org/linux-rt-users/[email protected]/
+- Remove patch rt-tests_glibc_2.41.patch (fix was reverted during 2.9 release
+  cycle and replaced with a different fix 30644ea ("sched_attr: Do not define
+  for glibc >= 2.41")).
+
+-------------------------------------------------------------------

Old:
----
  rt-tests-2.8.tar.gz
  rt-tests_glibc_2.41.patch

New:
----
  rt-tests-2.9.tar.gz

----------(Old B)----------
  Old:  
https://lore.kernel.org/linux-rt-users/[email protected]/
- Remove patch rt-tests_glibc_2.41.patch (fix was reverted during 2.9 release
  cycle and replaced with a different fix 30644ea ("sched_attr: Do not define
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rt-tests.spec ++++++
--- /var/tmp/diff_new_pack.xy9Y72/_old  2025-09-09 20:31:32.952523854 +0200
+++ /var/tmp/diff_new_pack.xy9Y72/_new  2025-09-09 20:31:32.952523854 +0200
@@ -17,15 +17,13 @@
 
 
 Name:           rt-tests
-Version:        2.8
+Version:        2.9
 Release:        0
 Summary:        Realtime Kernel Testsuite
 License:        GPL-2.0-only
 Group:          System/Benchmark
 URL:            https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
 Source0:        
https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM
-Patch0:         rt-tests_glibc_2.41.patch
 BuildRequires:  libnuma-devel
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-base

++++++ rt-tests-2.8.tar.gz -> rt-tests-2.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/Makefile new/rt-tests-2.9/Makefile
--- old/rt-tests-2.8/Makefile   2024-11-28 21:58:14.000000000 +0100
+++ new/rt-tests-2.9/Makefile   2025-07-01 16:20:28.000000000 +0200
@@ -33,7 +33,7 @@
 bindir  ?= $(prefix)/bin
 mandir ?= $(prefix)/share/man
 
-CFLAGS ?= -Wall -Wno-nonnull -Wextra -Wno-sign-compare
+CFLAGS ?= -Wall -Werror -Wno-nonnull -Wextra -Wno-sign-compare 
-Wno-unused-parameter -Wno-error=format-truncation= -Wno-error=unused-result
 CPPFLAGS += -D_GNU_SOURCE -Isrc/include
 LDFLAGS ?=
 
@@ -43,7 +43,7 @@
 ifneq ($(no_libcpupower), 1)
 ifeq ($(call test-feature,libcpupower), 0)
 CPPFLAGS += -DHAVE_LIBCPUPOWER_SUPPORT
-LDFLAGS += -lcpupower
+LIBCPUPOWER += -lcpupower
 else
 $(warning libcpupower is missing, building without --deepest-idle-state 
support.)
 $(warning Please install libcpupower-dev/kernel-tools-libs-devel)
@@ -135,7 +135,7 @@
 -include $(addprefix $(OBJDIR)/,$(sources:.c=.d))
 
 cyclictest: $(OBJDIR)/cyclictest.o $(OBJDIR)/librttest.a 
$(OBJDIR)/librttestnuma.a
-       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(RTTESTNUMA)
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(RTTESTNUMA) 
$(LIBCPUPOWER)
 
 cyclicdeadline: $(OBJDIR)/cyclicdeadline.o $(OBJDIR)/librttest.a
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/feature/test-feature.mak 
new/rt-tests-2.9/feature/test-feature.mak
--- old/rt-tests-2.8/feature/test-feature.mak   2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/feature/test-feature.mak   2025-07-01 16:20:28.000000000 
+0200
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 define test-feature
-$(shell $(MAKE) OBJDIR=$(OBJDIR) CFLAGS=$(CFLAGS) CPPFLAGS=$(CPPFLAGS) 
LDFLAGS=$(LDFLAGS) \
+$(shell $(MAKE) OBJDIR="$(OBJDIR)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" 
LDFLAGS="$(LDFLAGS)" \
 -f feature/Makefile feature-$1 clean >/dev/null 2>/dev/null; echo $$?)
 endef
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/cyclictest/cyclictest.c 
new/rt-tests-2.9/src/cyclictest/cyclictest.c
--- old/rt-tests-2.8/src/cyclictest/cyclictest.c        2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/cyclictest/cyclictest.c        2025-07-01 
16:20:28.000000000 +0200
@@ -436,11 +436,10 @@
 
 static inline int have_libcpupower_support(void) { return 1; }
 #else
-static inline int save_cpu_idle_disable_state(__attribute__((unused)) unsigned 
int cpu) { return -1; }
-static inline int restore_cpu_idle_disable_state(__attribute__((unused)) 
unsigned int cpu) { return -1; }
+static inline int save_cpu_idle_disable_state(unsigned int cpu) { return -1; }
+static inline int restore_cpu_idle_disable_state(unsigned int cpu) { return 
-1; }
 static inline void free_cpu_idle_disable_states(void) { }
-static inline int set_deepest_cpu_idle_state(__attribute__((unused)) unsigned 
int cpu,
-                                                                               
         __attribute__((unused)) unsigned int state) { return -1; }
+static inline int set_deepest_cpu_idle_state(unsigned int cpu, unsigned int 
state) { return -1; }
 static inline int have_libcpupower_support(void) { return 0; }
 #endif /* HAVE_LIBCPUPOWER_SUPPORT */
 
@@ -1687,7 +1686,7 @@
  * thread that creates a named fifo and hands out run stats when someone
  * reads from the fifo.
  */
-static void *fifothread(void *param __attribute__ ((unused)))
+static void *fifothread(void *param)
 {
        int ret;
        int fd;
@@ -1868,7 +1867,7 @@
        return;
 }
 
-static void write_stats(FILE *f, void *data __attribute__ ((unused)))
+static void write_stats(FILE *f, void *data)
 {
        struct thread_param **par = parameters;
        int i;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/hwlatdetect/hwlatdetect.py 
new/rt-tests-2.9/src/hwlatdetect/hwlatdetect.py
--- old/rt-tests-2.8/src/hwlatdetect/hwlatdetect.py     2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/hwlatdetect/hwlatdetect.py     2025-07-01 
16:20:28.000000000 +0200
@@ -33,6 +33,11 @@
         print(istr)
 
 
+def group_sep(num_hex):
+    """ Add a comma as a grouping separator every 32 bits to a hexadecimal 
number. """
+    return ','.join([num_hex[max(i - 8, 0):i] for i in range(len(num_hex), 0, 
-8)][::-1])
+
+
 #
 # Class used to manage mounting and umounting the debugfs
 # filesystem. Note that if an instance of this class mounts
@@ -494,7 +499,7 @@
             for i in range(l, r + 1):
                 cpumask |= (1 << i)
         debug(f"set tracing_cpumask to {cpumask:x}")
-        detect.set("cpumask", f"{cpumask:x}")
+        detect.set("cpumask", group_sep(f"{cpumask:x}"))
 
     info(f"hwlatdetect:  test duration {detect.testduration} seconds")
     info(f"   detector: {detect.type}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/include/rt-sched.h 
new/rt-tests-2.9/src/include/rt-sched.h
--- old/rt-tests-2.8/src/include/rt-sched.h     2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/include/rt-sched.h     2025-07-01 16:20:28.000000000 
+0200
@@ -42,6 +42,8 @@
 #define __NR_sched_getattr             275
 #endif
 
+/* sched_attr is not defined in glibc < 2.41 */
+#ifndef SCHED_ATTR_SIZE_VER0
 struct sched_attr {
        uint32_t size;
        uint32_t sched_policy;
@@ -54,9 +56,9 @@
        uint32_t sched_priority;
 
        /* SCHED_DEADLINE */
-       uint64_t sched_runtime;
-       uint64_t sched_deadline;
-       uint64_t sched_period;
+       unsigned long long sched_runtime;
+       unsigned long long sched_deadline;
+       unsigned long long sched_period;
 };
 
 int sched_setattr(pid_t pid,
@@ -68,4 +70,6 @@
                  unsigned int size,
                  unsigned int flags);
 
+#endif /* SCHED_ATTR_SIZE_VER0 */
+
 #endif /* __RT_SCHED_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/oslat/oslat.c 
new/rt-tests-2.9/src/oslat/oslat.c
--- old/rt-tests-2.8/src/oslat/oslat.c  2024-11-28 21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/oslat/oslat.c  2025-07-01 16:20:28.000000000 +0200
@@ -220,7 +220,7 @@
 
 static struct global g;
 
-static void workload_nop(char *dst __attribute__ ((unused)), char *src 
__attribute__ ((unused)), size_t size __attribute__ ((unused)))
+static void workload_nop(char *dst, char *src, size_t size)
 {
        /* Nop */
 }
@@ -596,7 +596,7 @@
                pthread_join(threads[i].thread_id, NULL);
 }
 
-static void handle_alarm(int code __attribute__ ((unused)))
+static void handle_alarm(int code)
 {
        g.cmd = STOP;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/pi_tests/pi_stress.c 
new/rt-tests-2.9/src/pi_tests/pi_stress.c
--- old/rt-tests-2.8/src/pi_tests/pi_stress.c   2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/pi_tests/pi_stress.c   2025-07-01 16:20:28.000000000 
+0200
@@ -388,7 +388,7 @@
  *   1. report progress
  *   2. check for deadlocks
  */
-void *reporter(void *arg __attribute__ ((unused)))
+void *reporter(void *arg)
 {
        int status;
        int end = 0;
@@ -1294,7 +1294,7 @@
                printf(" priority %d\n", sa->sched_priority);
                break;
        case SCHED_DEADLINE:
-               printf(" runtime %" PRIu64 " deadline %" PRIu64 " period %" 
PRIu64 "\n",
+               printf(" runtime %llu deadline %llu period %llu\n",
                        sa->sched_runtime, sa->sched_deadline,
                        sa->sched_period);
                break;
@@ -1334,7 +1334,7 @@
               t->tm_yday, t->tm_hour, t->tm_min, t->tm_sec);
 }
 
-void write_stats(FILE *f, void *data __attribute__ ((unused)))
+void write_stats(FILE *f, void *data)
 {
        fprintf(f, "  \"inversion\": %lu\n", total_inversions());
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/pi_tests/pip_stress.8 
new/rt-tests-2.9/src/pi_tests/pip_stress.8
--- old/rt-tests-2.8/src/pi_tests/pip_stress.8  2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/pi_tests/pip_stress.8  2025-07-01 16:20:28.000000000 
+0200
@@ -5,7 +5,8 @@
 .B pip_stress \- Priority Inheritance with processes
 .SH SYNOPSIS
 .B pip_stress
-
+.RB [ \-u|\-\-usleep
+.IR TIME ]
 .SH DESCRIPTION
 This program demonstrates the technique of using priority inheritance (PI)
 mutexes with processes instead of threads.
@@ -41,6 +42,9 @@
 holding the lock. (usleep);
 Also note that you have to run as a user with permission to change
 scheduling priorities.
+.SH OPTIONS
+.IP "\-u TIME,\-\-usleep=TIME"
+Specify the sleep time in usec of the low priority process. Defaults to 500.
 .BR
 .SH AUTHOR
 pip_stress was written by John Kacur <jkacur at redhat.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/pi_tests/pip_stress.c 
new/rt-tests-2.9/src/pi_tests/pip_stress.c
--- old/rt-tests-2.8/src/pi_tests/pip_stress.c  2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/pi_tests/pip_stress.c  2025-07-01 16:20:28.000000000 
+0200
@@ -72,7 +72,9 @@
        printf("pip_stress V %1.2f\n", VERSION);
        printf("Usage:\n"
               "pip_stress <options>\n"\
-              "-h      --help                  Show this help menu.\n"
+              "-h       --help          Show this help menu.\n"\
+              "-u TIME  --usleep=TIME   Specify the sleep time in usec of the 
low priority process.\n"\
+              "                         Defaults to 500.\n"
               );
        exit(error);
 }
@@ -88,16 +90,20 @@
        for (;;) {
                struct option long_options[] = {
                        { "help",       no_argument,            NULL,   'h' },
+                       { "usleep",     required_argument,      NULL,   'u' },
                        { NULL,         0,                      NULL,   0 },
                };
 
-               int c = getopt_long(argc, argv, "s:h", long_options, NULL);
+               int c = getopt_long(argc, argv, "hu:", long_options, NULL);
                if (c == -1)
                        break;
                switch (c) {
                case 'h':
                        usage(0);
                        break;
+               case 'u':
+                       usleep_val = strtoul(optarg, NULL, 10);
+                       break;
                default:
                        usage(1);
                        break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/pmqtest/pmqtest.c 
new/rt-tests-2.9/src/pmqtest/pmqtest.c
--- old/rt-tests-2.8/src/pmqtest/pmqtest.c      2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/pmqtest/pmqtest.c      2025-07-01 16:20:28.000000000 
+0200
@@ -418,14 +418,13 @@
 
 static int volatile shutdown;
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        shutdown = 1;
 }
 
-static void print_stat(FILE *fp __attribute__ ((unused)),
-                      struct params *receiver, struct params *sender,
-                      int verbose __attribute__ ((unused)), int quiet)
+static void print_stat(FILE *fp, struct params *receiver, struct params 
*sender,
+                      int verbose, int quiet)
 {
        int i;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/ptsematest/ptsematest.c 
new/rt-tests-2.9/src/ptsematest/ptsematest.c
--- old/rt-tests-2.8/src/ptsematest/ptsematest.c        2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/ptsematest/ptsematest.c        2025-07-01 
16:20:28.000000000 +0200
@@ -321,14 +321,13 @@
 
 static int volatile shutdown;
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        shutdown = 1;
 }
 
-static void print_stat(FILE *fp __attribute__ ((unused)),
-                      struct params *receiver, struct params *sender,
-                      int verbose __attribute__ ((unused)), int quiet)
+static void print_stat(FILE *fp, struct params *receiver, struct params 
*sender,
+                      int verbose, int quiet)
 {
        int i;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/queuelat/queuelat.c 
new/rt-tests-2.9/src/queuelat/queuelat.c
--- old/rt-tests-2.8/src/queuelat/queuelat.c    2024-11-28 21:58:14.000000000 
+0100
+++ new/rt-tests-2.9/src/queuelat/queuelat.c    2025-07-01 16:20:28.000000000 
+0200
@@ -520,7 +520,7 @@
        free(src);
 }
 
-void sig_handler(int sig __attribute__ ((unused)))
+void sig_handler(int sig)
 {
        print_exit_info();
        exit(0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/rt-migrate-test/rt-migrate-test.c 
new/rt-tests-2.9/src/rt-migrate-test/rt-migrate-test.c
--- old/rt-tests-2.8/src/rt-migrate-test/rt-migrate-test.c      2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/rt-migrate-test/rt-migrate-test.c      2025-07-01 
16:20:28.000000000 +0200
@@ -354,7 +354,7 @@
        }
 }
 
-static void write_stats(FILE *f, void *data __attribute__ ((unused)))
+static void write_stats(FILE *f, void *data)
 {
        int i;
        int t;
@@ -489,7 +489,7 @@
        return 0;
 }
 
-static void stop_log(int sig __attribute__ ((unused)))
+static void stop_log(int sig)
 {
        stop = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/sched_deadline/cyclicdeadline.c 
new/rt-tests-2.9/src/sched_deadline/cyclicdeadline.c
--- old/rt-tests-2.8/src/sched_deadline/cyclicdeadline.c        2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/sched_deadline/cyclicdeadline.c        2025-07-01 
16:20:28.000000000 +0200
@@ -688,7 +688,7 @@
               "-a [CPUSET] --affinity     Comma/hyphen separated list of CPUs 
to run deadline\n"
               "                           tasks on. An empty CPUSET runs on 
all CPUs a deadline\n"
               "                           task.\n"
-              "-D TIME  --duration        Specify a length for the test run.\n"
+              "-D TIME  --duration        Specify a length in seconds for the 
test run.\n"
               "                           Append 'm', 'h', or 'd' to specify 
minutes, hours or\n"
               "                           days\n"
               "-h       --help            Show this help menu.\n"
@@ -1073,7 +1073,7 @@
        return -1;
 }
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        shutdown = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/signaltest/signaltest.c 
new/rt-tests-2.9/src/signaltest/signaltest.c
--- old/rt-tests-2.8/src/signaltest/signaltest.c        2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/signaltest/signaltest.c        2025-07-01 
16:20:28.000000000 +0200
@@ -353,7 +353,7 @@
        }
 }
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        shutdown = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/sigwaittest/sigwaittest.c 
new/rt-tests-2.9/src/sigwaittest/sigwaittest.c
--- old/rt-tests-2.8/src/sigwaittest/sigwaittest.c      2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/sigwaittest/sigwaittest.c      2025-07-01 
16:20:28.000000000 +0200
@@ -370,13 +370,13 @@
 
 static int volatile mustshutdown;
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        mustshutdown = 1;
 }
 
 static void print_stat(struct params *receiver, struct params *sender,
-                      int verbose __attribute__ ((unused)), int quiet)
+                      int verbose, int quiet)
 {
        int i;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/ssdd/ssdd.c 
new/rt-tests-2.9/src/ssdd/ssdd.c
--- old/rt-tests-2.8/src/ssdd/ssdd.c    2024-11-28 21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/ssdd/ssdd.c    2025-07-01 16:20:28.000000000 +0200
@@ -152,7 +152,7 @@
 static int nforks = 10;
 static int nsteps = 10000;
 
-static void sigchld(int sig __attribute__ ((unused)), siginfo_t *info 
__attribute__ ((unused)), void *arg __attribute__ ((unused)))
+static void sigchld(int sig, siginfo_t *info, void *arg)
 {
        got_sigchld = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-tests-2.8/src/svsematest/svsematest.c 
new/rt-tests-2.9/src/svsematest/svsematest.c
--- old/rt-tests-2.8/src/svsematest/svsematest.c        2024-11-28 
21:58:14.000000000 +0100
+++ new/rt-tests-2.9/src/svsematest/svsematest.c        2025-07-01 
16:20:28.000000000 +0200
@@ -416,7 +416,7 @@
 
 static int volatile mustshutdown;
 
-static void sighand(int sig __attribute__ ((unused)))
+static void sighand(int sig)
 {
        mustshutdown = 1;
 }
@@ -456,7 +456,8 @@
        fprintf(f, "  }\n");
 }
 
-static void print_stat(FILE *fp __attribute__ ((unused)), struct params 
*receiver, struct params *sender, int verbose __attribute__ ((unused)), int 
quiet)
+static void print_stat(FILE *fp, struct params *receiver, struct params 
*sender,
+                      int verbose, int quiet)
 {
        int i;
 

Reply via email to