diff options
Diffstat (limited to 'time/catclock/patches/patch-ad')
-rw-r--r-- | time/catclock/patches/patch-ad | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/time/catclock/patches/patch-ad b/time/catclock/patches/patch-ad index 7a21d2c89fa..25f814b0522 100644 --- a/time/catclock/patches/patch-ad +++ b/time/catclock/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $ +$NetBSD: patch-ad,v 1.3 2009/10/21 18:08:10 drochner Exp $ ---- alarm.c.orig 1995-05-21 16:07:00.000000000 +0000 +--- alarm.c.orig 1995-05-21 16:07:00.000000000 +0200 +++ alarm.c @@ -1,7 +1,5 @@ #include <stdio.h> @@ -11,7 +11,15 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $ #include <signal.h> #ifndef VMS -@@ -92,7 +90,9 @@ extern GC gc; +@@ -11,6 +9,7 @@ + #endif + #include <ctype.h> + #include <sys/time.h> ++#include <time.h> + + #ifdef VMS + #include "unix_time.h" +@@ -92,7 +91,9 @@ extern GC gc; static XmFontList xmFontList; @@ -22,7 +30,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $ void InitBellAlarm(win, width, height, fontInfo, fontList, fg, bg, state, on) Window win; -@@ -159,7 +159,6 @@ void DrawBell(flash) +@@ -159,7 +160,6 @@ void DrawBell(flash) bell_width, bell_height, bellX, bellY, 0x1); } else { @@ -30,7 +38,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $ HideBell(); } -@@ -181,7 +180,6 @@ static void AlarmAnnounce() +@@ -181,7 +181,6 @@ static void AlarmAnnounce() int i, w; char buf[BUFSIZ]; struct itimerval tv; @@ -38,7 +46,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $ strcpy(buf, nextAlarm.alarmAnnounce ? nextAlarm.alarmAnnounce : "alarm"); strcat(buf, " ... "); -@@ -442,7 +440,6 @@ void SetAlarm(file) +@@ -442,7 +441,6 @@ void SetAlarm(file) static void ResetAlarm() { |