1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Merge pull request #2509 from polluks/extern

Remove explicit keyword
This commit is contained in:
Bob Andrews
2024-09-08 16:13:55 +02:00
committed by GitHub
3 changed files with 15 additions and 15 deletions

View File

@@ -220,17 +220,17 @@
/* Color register functions */ /* Color register functions */
/*****************************************************************************/ /*****************************************************************************/
extern void __fastcall__ _setcolor (unsigned char color_reg, unsigned char hue, unsigned char luminance); void __fastcall__ _setcolor (unsigned char color_reg, unsigned char hue, unsigned char luminance);
extern void __fastcall__ _setcolor_low (unsigned char color_reg, unsigned char color_value); void __fastcall__ _setcolor_low (unsigned char color_reg, unsigned char color_value);
extern unsigned char __fastcall__ _getcolor (unsigned char color_reg); unsigned char __fastcall__ _getcolor (unsigned char color_reg);
/*****************************************************************************/ /*****************************************************************************/
/* Other screen functions */ /* Other screen functions */
/*****************************************************************************/ /*****************************************************************************/
extern void waitvsync (void); /* wait for start of next frame */ void waitvsync (void); /* wait for start of next frame */
extern int __fastcall__ _graphics (unsigned char mode); /* mode value same as in BASIC */ int __fastcall__ _graphics (unsigned char mode); /* mode value same as in BASIC */
extern void __fastcall__ _scroll (signed char numlines); void __fastcall__ _scroll (signed char numlines);
/* numlines > 0 scrolls up */ /* numlines > 0 scrolls up */
/* numlines < 0 scrolls down */ /* numlines < 0 scrolls down */
@@ -239,18 +239,18 @@ extern void __fastcall__ _scroll (signed char numlines);
/* Sound function */ /* Sound function */
/*****************************************************************************/ /*****************************************************************************/
extern void __fastcall__ _sound (unsigned char voice, unsigned char frequency, unsigned char distortion, unsigned char volume); void __fastcall__ _sound (unsigned char voice, unsigned char frequency, unsigned char distortion, unsigned char volume);
/*****************************************************************************/ /*****************************************************************************/
/* Misc. functions */ /* Misc. functions */
/*****************************************************************************/ /*****************************************************************************/
extern unsigned char get_ostype(void); /* get ROM version */ unsigned char get_ostype(void); /* get ROM version */
extern unsigned char get_tv(void); /* get TV system */ unsigned char get_tv(void); /* get TV system */
extern void _save_vecs(void); /* save system vectors */ void _save_vecs(void); /* save system vectors */
extern void _rest_vecs(void); /* restore system vectors */ void _rest_vecs(void); /* restore system vectors */
extern char *_getdefdev(void); /* get default floppy device */ char *_getdefdev(void); /* get default floppy device */
extern unsigned char _is_cmdline_dos(void); /* does DOS support command lines */ unsigned char _is_cmdline_dos(void); /* does DOS support command lines */
/*****************************************************************************/ /*****************************************************************************/

View File

@@ -94,7 +94,7 @@ extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
#define _bordercolor(color) 0 #define _bordercolor(color) 0
/* wait for start of next frame */ /* wait for start of next frame */
extern void waitvsync (void); void waitvsync (void);
/* end of atari5200.h */ /* end of atari5200.h */
#endif #endif

View File

@@ -52,7 +52,7 @@
/* No support for dynamically loadable drivers */ /* No support for dynamically loadable drivers */
#define DYN_DRV 0 #define DYN_DRV 0
extern unsigned char get_tv(void); /* get TV system */ unsigned char get_tv(void); /* get TV system */
#include <_tia.h> #include <_tia.h>
#define TIA (*(struct __tia*)0x0000) #define TIA (*(struct __tia*)0x0000)