1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Removed extern keyword from function prototypes.

This commit is contained in:
Marco van den Heuvel 2018-04-27 09:16:25 -07:00
parent 1428015158
commit 97e69952c4
6 changed files with 21 additions and 21 deletions

View File

@ -77,7 +77,7 @@ extern unsigned char __fastcall__ set_scpu_speed (unsigned char speed);
* make sure you use 'detect_scpu();' before using. * make sure you use 'detect_scpu();' before using.
*/ */
extern unsigned char get_scpu_speed (void); unsigned char get_scpu_speed (void);
/* Get the speed of the SuperCPU cartridge. /* Get the speed of the SuperCPU cartridge.
* *
@ -89,7 +89,7 @@ extern unsigned char get_scpu_speed (void);
* make sure you use 'detect_scpu();' before using. * make sure you use 'detect_scpu();' before using.
*/ */
extern unsigned char detect_scpu (void); unsigned char detect_scpu (void);
/* Check for the presence of the SuperCPU cartridge. /* Check for the presence of the SuperCPU cartridge.
* *
@ -101,7 +101,7 @@ extern unsigned char detect_scpu (void);
/* C64DTV */ /* C64DTV */
extern unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed); unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed);
/* Set the speed of the C64DTV, using SPEED_SLOW will switch to /* Set the speed of the C64DTV, using SPEED_SLOW will switch to
* slow mode, SPEED_2X or SPEED_FAST will switch to fast mode. * slow mode, SPEED_2X or SPEED_FAST will switch to fast mode.
@ -115,7 +115,7 @@ extern unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed);
* make sure you use 'detect_c64dtv();' before using. * make sure you use 'detect_c64dtv();' before using.
*/ */
extern unsigned char get_c64dtv_speed (void); unsigned char get_c64dtv_speed (void);
/* Get the speed of the C64DTV. /* Get the speed of the C64DTV.
* *
@ -127,7 +127,7 @@ extern unsigned char get_c64dtv_speed (void);
* make sure you use 'detect_c64dtv();' before using. * make sure you use 'detect_c64dtv();' before using.
*/ */
extern unsigned char detect_c64dtv (void); unsigned char detect_c64dtv (void);
/* Check for the presence of the C64DTV. /* Check for the presence of the C64DTV.
* *
@ -139,7 +139,7 @@ extern unsigned char detect_c64dtv (void);
/* C128 8502 CPU */ /* C128 8502 CPU */
extern unsigned char __fastcall__ set_c128_speed (unsigned char speed); unsigned char __fastcall__ set_c128_speed (unsigned char speed);
/* Set the speed of the C128 8502 CPU, using SPEED_SLOW will switch to /* Set the speed of the C128 8502 CPU, using SPEED_SLOW will switch to
* 1 Mhz (slow) mode, SPEED_2X or SPEED_FAST will switch to 2Mhz (fast) mode. * 1 Mhz (slow) mode, SPEED_2X or SPEED_FAST will switch to 2Mhz (fast) mode.
@ -153,7 +153,7 @@ extern unsigned char __fastcall__ set_c128_speed (unsigned char speed);
* you use 'detect_c128();' before using. * you use 'detect_c128();' before using.
*/ */
extern unsigned char get_c128_speed (void); unsigned char get_c128_speed (void);
/* Get the speed of the C128 8502 CPU. /* Get the speed of the C128 8502 CPU.
* *
@ -165,7 +165,7 @@ extern unsigned char get_c128_speed (void);
* you use 'detect_c128();' before using. * you use 'detect_c128();' before using.
*/ */
extern unsigned char detect_c128 (void); unsigned char detect_c128 (void);
/* Check if the C128 CPU is the current CPU. /* Check if the C128 CPU is the current CPU.
* *
@ -177,7 +177,7 @@ extern unsigned char detect_c128 (void);
/* C64 Chameleon cartridge */ /* C64 Chameleon cartridge */
extern unsigned char __fastcall__ set_chameleon_speed (unsigned char speed); unsigned char __fastcall__ set_chameleon_speed (unsigned char speed);
/* Set the speed of the C64 Chameleon cartridge, the following inputs /* Set the speed of the C64 Chameleon cartridge, the following inputs
* are accepted: * are accepted:
@ -200,7 +200,7 @@ extern unsigned char __fastcall__ set_chameleon_speed (unsigned char speed);
* make sure you use 'detect_chameleon();' before using. * make sure you use 'detect_chameleon();' before using.
*/ */
extern unsigned char get_chameleon_speed (void); unsigned char get_chameleon_speed (void);
;/* Get the speed of the C64 Chameleon cartridge. ;/* Get the speed of the C64 Chameleon cartridge.
; * ; *
@ -217,7 +217,7 @@ extern unsigned char get_chameleon_speed (void);
; * make sure you use 'detect_chameleon();' before using. ; * make sure you use 'detect_chameleon();' before using.
; */ ; */
extern unsigned char detect_chameleon (void); unsigned char detect_chameleon (void);
/* Check for the presence of the C64 Chameleon cartridge. /* Check for the presence of the C64 Chameleon cartridge.
* *

View File

@ -2,7 +2,7 @@
; Marco van den Heuvel, 2018-04-23 ; Marco van den Heuvel, 2018-04-23
; ;
; extern unsigned char __fastcall__ set_c128_speed (unsigned char speed); ; unsigned char __fastcall__ set_c128_speed (unsigned char speed);
; ;
;/* Set the speed of the C128 8502 CPU, using SPEED_SLOW will switch to ;/* Set the speed of the C128 8502 CPU, using SPEED_SLOW will switch to
; * 1 Mhz (slow) mode, SPEED_2X or SPEED_FAST will switch to 2Mhz (fast) mode. ; * 1 Mhz (slow) mode, SPEED_2X or SPEED_FAST will switch to 2Mhz (fast) mode.
@ -18,7 +18,7 @@
; * For C128 programs no detect function call is needed. ; * For C128 programs no detect function call is needed.
; */ ; */
; extern unsigned char get_c128_speed (void); ; unsigned char get_c128_speed (void);
; ;
;/* Get the speed of the C128 8502 CPU. ;/* Get the speed of the C128 8502 CPU.
; * ; *

View File

@ -2,7 +2,7 @@
; Marco van den Heuvel, 2018-04-09 ; Marco van den Heuvel, 2018-04-09
; ;
; extern unsigned char __fastcall__ set_scpu_speed (unsigned char speed); ; unsigned char __fastcall__ set_scpu_speed (unsigned char speed);
; ;
;/* Set the speed of the SuperCPU cartridge, using SPEED_SLOW will switch to ;/* Set the speed of the SuperCPU cartridge, using SPEED_SLOW will switch to
; * 1 Mhz mode, SPEED_20X or SPEED_FAST will switch to 20 Mhz mode. ; * 1 Mhz mode, SPEED_20X or SPEED_FAST will switch to 20 Mhz mode.
@ -19,7 +19,7 @@
; * make sure you use 'detect_scpu();' before using. ; * make sure you use 'detect_scpu();' before using.
; */ ; */
; extern unsigned char get_scpu_speed (void); ; unsigned char get_scpu_speed (void);
; ;
;/* Get the speed of the SuperCPU cartridge. ;/* Get the speed of the SuperCPU cartridge.
; * ; *

View File

@ -2,7 +2,7 @@
; Marco van den Heuvel, 2018-04-14 ; Marco van den Heuvel, 2018-04-14
; ;
; extern unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed); ; unsigned char __fastcall__ set_c64dtv_speed (unsigned char speed);
; ;
;/* Set the speed of the C64DTV, using SPEED_SLOW will switch to ;/* Set the speed of the C64DTV, using SPEED_SLOW will switch to
; * slow mode, SPEED_2X or SPEED_FAST will switch to fast mode. ; * slow mode, SPEED_2X or SPEED_FAST will switch to fast mode.
@ -16,7 +16,7 @@
; * make sure you use 'detect_c64dtv();' before using. ; * make sure you use 'detect_c64dtv();' before using.
; */ ; */
; extern unsigned char get_c64dtv_speed (void); ; unsigned char get_c64dtv_speed (void);
; ;
;/* Get the speed of the C64DTV. ;/* Get the speed of the C64DTV.
; * ; *

View File

@ -2,7 +2,7 @@
; Marco van den Heuvel, 2018-04-25 ; Marco van den Heuvel, 2018-04-25
; ;
; extern unsigned char __fastcall__ set_chameleon_speed (unsigned char speed); ; unsigned char __fastcall__ set_chameleon_speed (unsigned char speed);
; ;
;/* Set the speed of the Chameleon cartridge, the following inputs ;/* Set the speed of the Chameleon cartridge, the following inputs
; * are accepted: ; * are accepted:
@ -25,7 +25,7 @@
; * make sure you use 'detect_chameleon();' before using. ; * make sure you use 'detect_chameleon();' before using.
; */ ; */
; extern unsigned char get_chameleon_speed (void); ; unsigned char get_chameleon_speed (void);
; ;
;/* Get the speed of the Chameleon cartridge. ;/* Get the speed of the Chameleon cartridge.
; * ; *

View File

@ -2,7 +2,7 @@
; Marco van den Heuvel, 2018-04-09 ; Marco van den Heuvel, 2018-04-09
; ;
; extern unsigned char __fastcall__ set_scpu_speed (unsigned char speed); ; unsigned char __fastcall__ set_scpu_speed (unsigned char speed);
; ;
;/* Set the speed of the SuperCPU cartridge, using SPEED_SLOW will switch to ;/* Set the speed of the SuperCPU cartridge, using SPEED_SLOW will switch to
; * 1 Mhz mode, SPEED_20X or SPEED_FAST will switch to 20 Mhz mode. ; * 1 Mhz mode, SPEED_20X or SPEED_FAST will switch to 20 Mhz mode.
@ -19,7 +19,7 @@
; * make sure you use 'detect_scpu();' before using. ; * make sure you use 'detect_scpu();' before using.
; */ ; */
; extern unsigned char get_scpu_speed (void); ; unsigned char get_scpu_speed (void);
; ;
;/* Get the speed of the SuperCPU cartridge. ;/* Get the speed of the SuperCPU cartridge.
; * ; *