SHA256
1
0
forked from pool/bb
Files
bb/bb-1.3.0-timer.diff
Takashi Iwai 7ccc36dbd2 - Build with -fpermissive to work around various C99 violations which
lead to compiler errors with GCC 14 by default [boo#1228121]

If the request is OK, please forward it to Factory soon-ish so that it
is ready for switching the default compiler.  Thanks.

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/bb?expand=0&rev=19
2024-07-18 18:14:51 +00:00

23 lines
351 B
Diff

--- timers.c.orig
+++ timers.c
@@ -306,8 +306,8 @@ __lookup_timer (tl_timer * t)
#endif
#endif
}
-int
-tl_lookup_timer (tl_timer * t)
+REGISTERS(3) int
+tl_lookup_timer (tl_timer * t)
{
if (t->stopped)
{
@@ -382,7 +382,7 @@ tl_sleep (int time)
#endif
}
-void
+REGISTERS(3) void
tl_reset_timer (tl_timer * t)
{
tl_update_time();