Skip to content

Commit da9e343

Browse files
committed
asclock: Include <stdlib.h> for exit(3).
1 parent f4283b8 commit da9e343

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

time/asclock/distinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ BLAKE2s (asclock-classic-1.0.tar.gz) = 9b7ccaee15ade73d9ca193defd7914151edac2402
44
SHA512 (asclock-classic-1.0.tar.gz) = 726ffd64383b8e98b281a4512222cf594637b732400fbf45f7f491c306b85b992b753bb2758d18e558646292452908ffeda8ac7d0762bf22bf48a6248dae7e3f
55
Size (asclock-classic-1.0.tar.gz) = 33949 bytes
66
SHA1 (patch-aa) = 8d9f1cc5b3c035d5e06102b8464aaf9cf757e8cd
7-
SHA1 (patch-ab) = 83d20644751d47bb5a90500075354541e43720be
7+
SHA1 (patch-ab) = 9cb6b2ef3c0ff6599d5c7847a9131faa03a9570c
88
SHA1 (patch-ac) = c86fe29211da8d4a884ce94a63eb13a83af7e030

time/asclock/patches/patch-ab

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
22

3-
--- asclock.c.orig Sat Sep 26 17:05:03 1998
4-
+++ asclock.c Thu Oct 28 13:12:29 1999
5-
@@ -19,6 +19,7 @@
3+
--- asclock.c.orig 1998-09-26 21:05:03.000000000 +0000
4+
+++ asclock.c
5+
@@ -1,4 +1,5 @@
6+
#include <stdio.h>
7+
+#include <stdlib.h>
8+
#include <X11/Xlib.h>
9+
#include <X11/xpm.h>
10+
#include <X11/extensions/shape.h>
11+
@@ -19,6 +20,7 @@ int ICONIFIED=0; /* default is not iconified */
612
int ONLYSHAPE=0; /* default value is noshape */
713
int ITBLINKS=1; /* default is blinking */
814
int ICONIFIED=0; /* default is not iconified */
915
+int ITDOCKS=0; /* default is not Docking mode */
1016
int YEAR=0; /* default is to show time, not year */
1117
/* led positions *************************************************************/
1218
int twelve[5] = {5, 14, 24, 28, 37};
13-
@@ -85,14 +86,15 @@
19+
@@ -85,14 +87,15 @@ static char *help_message[] = {
1420
" -24 24 hour format",
1521
" -exe <program> program to start on click",
1622
" -led <color> color of the led",
@@ -28,7 +34,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
2834
NULL
2935
};
3036

31-
@@ -173,6 +175,9 @@
37+
@@ -173,6 +176,9 @@ int main(int argc,char *argv[])
3238
case 'n':
3339
ITBLINKS = 0;
3440
continue;
@@ -38,7 +44,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
3844
case 'y':
3945
YEAR = 1;
4046
continue;
41-
@@ -256,13 +261,17 @@
47+
@@ -256,13 +262,17 @@ int main(int argc,char *argv[])
4248
XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet);
4349
}
4450

0 commit comments

Comments
 (0)