• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

oga's tools


Commit MetaInfo

修订版911be3499c26694a96592070b4f7b9430d608369 (tree)
时间2021-08-16 14:05:41
作者hyperoga <hyperoga@gmai...>
Commiterhyperoga

Log Message

V1.95b fix linux compile warning

更改概述

差异

--- a/cal.c
+++ b/cal.c
@@ -22,6 +22,7 @@
2222 * 2019.06.09 V1.93 append new birthday of tennou (2/23)
2323 * 2020.05.03 V1.94 apply olympic year holiday(2020)
2424 * 2021.08.10 V1.95 apply olympic year holiday(2021)
25+ * 2021.08.16 V1.95b fix compile warning
2526 *
2627 * X68000 : default
2728 * HI-UX : -DX_H3050R -D_HIUX_SOURCE
@@ -56,7 +57,7 @@
5657 #include <time.h>
5758 #endif
5859
59-#define VER "1.95"
60+#define VER "1.95b"
6061 #define MAX_ENT 2000
6162
6263 #ifdef DOS
@@ -79,6 +80,8 @@ void adjust_holiday(); /* V1.90-A */
7980 void backup_color(); /* V1.91-A */
8081 void restore_color(); /* V1.91-A */
8182 void dump_holiday(); /* V1.92-A */
83+int bcd2bin(); /* V1.95b-A */
84+int chk_holiday(); /* V1.95b-A */
8285
8386 #if defined(X_H3050R) || defined(DOS) || defined(LINUX)
8487 int _iocs_bindateget();
@@ -540,11 +543,11 @@ int year;
540543 sprintf(msg, "%2d%s ",wk,white);
541544 printf_nt(msg);
542545 } else {
543- sprintf(msg, "%s ",white,wk);
546+ sprintf(msg, "%s ",white);
544547 printf_nt(msg);
545548 }
546549 }
547- sprintf(msg, "%s ",white,wk);
550+ sprintf(msg, "%s ",white);
548551 printf_nt(msg);
549552 }
550553 printf("\n");