From: Oliver Schmidt
Date: Tue, 6 Nov 2018 10:13:23 +0000 (+0100)
Subject: Adjusted comments to match actual prototypes.
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40f42e977f40a9a861345d77ef6f8b986fbece4b;p=cc65
Adjusted comments to match actual prototypes.
---
diff --git a/libsrc/apple2/break.s b/libsrc/apple2/break.s
index 9129dde96..21538e1e5 100644
--- a/libsrc/apple2/break.s
+++ b/libsrc/apple2/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/apple2/gettime.s b/libsrc/apple2/gettime.s
index a11032af5..dc00e3b49 100644
--- a/libsrc/apple2/gettime.s
+++ b/libsrc/apple2/gettime.s
@@ -1,7 +1,7 @@
;
; Oliver Schmidt, 14.08.2018
;
-; int clock_gettime (clockid_t clk_id, struct timespec *tp);
+; int __fastcall__ clock_gettime (clockid_t clk_id, struct timespec *tp);
;
.import pushax, steaxspidx, incsp1, incsp3, return0
diff --git a/libsrc/apple2/settime.s b/libsrc/apple2/settime.s
index 2235d1a3f..07032fdd1 100644
--- a/libsrc/apple2/settime.s
+++ b/libsrc/apple2/settime.s
@@ -1,7 +1,7 @@
;
; Oliver Schmidt, 15.08.2018
;
-; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+; int __fastcall__ clock_settime (clockid_t clk_id, const struct timespec *tp);
;
.import __dos_type
diff --git a/libsrc/atari/break.s b/libsrc/atari/break.s
index a53ed9803..0cfba1c5a 100644
--- a/libsrc/atari/break.s
+++ b/libsrc/atari/break.s
@@ -1,7 +1,7 @@
;
; Christian Groessler, 27-Feb-2000
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/c128/break.s b/libsrc/c128/break.s
index f2f872be8..092ca3469 100644
--- a/libsrc/c128/break.s
+++ b/libsrc/c128/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/c128/gettime.s b/libsrc/c128/gettime.s
index ba0068aa7..0267e683f 100644
--- a/libsrc/c128/gettime.s
+++ b/libsrc/c128/gettime.s
@@ -2,7 +2,7 @@
; Stefan Haubenthal, 27.7.2009
; Oliver Schmidt, 14.8.2018
;
-; int clock_gettime (clockid_t clk_id, struct timespec *tp);
+; int __fastcall__ clock_gettime (clockid_t clk_id, struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/c128/settime.s b/libsrc/c128/settime.s
index 0d95a3958..fe306b735 100644
--- a/libsrc/c128/settime.s
+++ b/libsrc/c128/settime.s
@@ -1,7 +1,7 @@
;
; Oliver Schmidt, 16.8.2018
;
-; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+; int __fastcall__ clock_settime (clockid_t clk_id, const struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/c16/break.s b/libsrc/c16/break.s
index e143ac6d5..456dbb434 100644
--- a/libsrc/c16/break.s
+++ b/libsrc/c16/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/c64/break.s b/libsrc/c64/break.s
index 1c44c59a0..63fab707f 100644
--- a/libsrc/c64/break.s
+++ b/libsrc/c64/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/c64/gettime.s b/libsrc/c64/gettime.s
index ddb865c8f..25fc8c94a 100644
--- a/libsrc/c64/gettime.s
+++ b/libsrc/c64/gettime.s
@@ -2,7 +2,7 @@
; Stefan Haubenthal, 27.7.2009
; Oliver Schmidt, 14.8.2018
;
-; int clock_gettime (clockid_t clk_id, struct timespec *tp);
+; int __fastcall__ clock_gettime (clockid_t clk_id, struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/c64/settime.s b/libsrc/c64/settime.s
index c72d535bc..88b4d0bef 100644
--- a/libsrc/c64/settime.s
+++ b/libsrc/c64/settime.s
@@ -1,7 +1,7 @@
;
; Oliver Schmidt, 16.8.2018
;
-; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+; int __fastcall__ clock_settime (clockid_t clk_id, const struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/cbm510/break.s b/libsrc/cbm510/break.s
index b58db068e..fff475d3a 100644
--- a/libsrc/cbm510/break.s
+++ b/libsrc/cbm510/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/cbm510/gettime.s b/libsrc/cbm510/gettime.s
index c767c1f33..7f9e1017c 100644
--- a/libsrc/cbm510/gettime.s
+++ b/libsrc/cbm510/gettime.s
@@ -4,7 +4,7 @@
; 2018-08-18, Oliver Schmidt
; 2018-08-19, Greg King
;
-; int clock_gettime (clockid_t clk_id, struct timespec *tp);
+; int __fastcall__ clock_gettime (clockid_t clk_id, struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/cbm510/settime.s b/libsrc/cbm510/settime.s
index 6eb08a1ac..08de7915a 100644
--- a/libsrc/cbm510/settime.s
+++ b/libsrc/cbm510/settime.s
@@ -2,7 +2,7 @@
; 2018-08-18, Oliver Schmidt
; 2018-08-19, Greg King
;
-; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+; int __fastcall__ clock_settime (clockid_t clk_id, const struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/cbm610/break.s b/libsrc/cbm610/break.s
index 03927fa70..aa9d17f16 100644
--- a/libsrc/cbm610/break.s
+++ b/libsrc/cbm610/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/cbm610/gettime.s b/libsrc/cbm610/gettime.s
index 4c66f7747..7e510af29 100644
--- a/libsrc/cbm610/gettime.s
+++ b/libsrc/cbm610/gettime.s
@@ -4,7 +4,7 @@
; 2018-08-18, Oliver Schmidt
; 2018-08-19, Greg King
;
-; int clock_gettime (clockid_t clk_id, struct timespec *tp);
+; int __fastcall__ clock_gettime (clockid_t clk_id, struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/cbm610/settime.s b/libsrc/cbm610/settime.s
index 3d2a24af9..217135d76 100644
--- a/libsrc/cbm610/settime.s
+++ b/libsrc/cbm610/settime.s
@@ -2,7 +2,7 @@
; 2018-08-18, Oliver Schmidt
; 2018-08-19, Greg King
;
-; int clock_settime (clockid_t clk_id, const struct timespec *tp);
+; int __fastcall__ clock_settime (clockid_t clk_id, const struct timespec *tp);
;
.include "time.inc"
diff --git a/libsrc/geos-common/system/gettime.c b/libsrc/geos-common/system/gettime.c
index d695787c3..947a6a4f4 100644
--- a/libsrc/geos-common/system/gettime.c
+++ b/libsrc/geos-common/system/gettime.c
@@ -25,7 +25,7 @@ clock_t clock(void)
return mktime(¤tTime);
}
-int clock_gettime(clockid_t, struct timespec *tp)
+int __fastcall__ clock_gettime(clockid_t, struct timespec *tp)
{
tp->tv_sec = clock();
tp->tv_nsec = 0;
diff --git a/libsrc/pet/break.s b/libsrc/pet/break.s
index 49585ffef..42cd95bfa 100644
--- a/libsrc/pet/break.s
+++ b/libsrc/pet/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 26.11.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/plus4/break.s b/libsrc/plus4/break.s
index 248a558c7..917304425 100644
--- a/libsrc/plus4/break.s
+++ b/libsrc/plus4/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;
diff --git a/libsrc/vic20/break.s b/libsrc/vic20/break.s
index 9a5ef02e7..fc1edc727 100644
--- a/libsrc/vic20/break.s
+++ b/libsrc/vic20/break.s
@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 27.09.1998
;
-; void set_brk (unsigned Addr);
+; void __fastcall__ set_brk (unsigned Addr);
; void reset_brk (void);
;