Skip to content

Commit 39e395a

Browse files
committed
asclock: Add prototype for mytime.
1 parent 2440f4e commit 39e395a

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
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) = 8455a30a020a5afe36a500e4067ef14c253d5e3e
7+
SHA1 (patch-ab) = 28f0c3fded9083a536636a5a67f7f44cce2a5ec9
88
SHA1 (patch-ac) = c86fe29211da8d4a884ce94a63eb13a83af7e030

time/asclock/patches/patch-ab

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
1717
int YEAR=0; /* default is to show time, not year */
1818
/* led positions *************************************************************/
1919
int twelve[5] = {5, 14, 24, 28, 37};
20-
@@ -85,14 +88,15 @@ static char *help_message[] = {
20+
@@ -77,6 +80,7 @@ void InsertTime();
21+
Pixel GetColor(char *name);
22+
void RedrawWindow( XpmIcon *v);
23+
void InsertTime();
24+
+int mytime();
25+
/*****************************************************************************/
26+
/*****************************************************************************/
27+
static char *help_message[] = {
28+
@@ -85,14 +89,15 @@ static char *help_message[] = {
2129
" -24 24 hour format",
2230
" -exe <program> program to start on click",
2331
" -led <color> color of the led",
@@ -35,7 +43,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
3543
NULL
3644
};
3745

38-
@@ -173,6 +177,9 @@ int main(int argc,char *argv[])
46+
@@ -173,6 +178,9 @@ int main(int argc,char *argv[])
3947
case 'n':
4048
ITBLINKS = 0;
4149
continue;
@@ -45,7 +53,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:13 wiz Exp $
4553
case 'y':
4654
YEAR = 1;
4755
continue;
48-
@@ -256,13 +263,17 @@ int main(int argc,char *argv[])
56+
@@ -256,13 +264,17 @@ int main(int argc,char *argv[])
4957
XShapeCombineMask(dpy, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet);
5058
}
5159

0 commit comments

Comments
 (0)