Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the

function description for functions that don't take any parameters.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5573 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-03-04 13:08:54 +00:00
parent bdeefe31e5
commit 285aaf8933
53 changed files with 65 additions and 169 deletions

View File

@@ -186,7 +186,7 @@ tgi_set_ptr:
rts
;----------------------------------------------------------------------------
; void __fastcall__ tgi_uninstall (void);
; void tgi_uninstall (void);
; /* Uninstall the currently loaded driver but do not unload it. Will call
; * tgi_done if necessary.
; */
@@ -207,6 +207,3 @@ _tgi_uninstall:
sta _tgi_error
rts

View File

@@ -1,15 +1,9 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; void __fastcall__ tgi_clear (void);
; void tgi_clear (void);
; /* Clear the drawpage */
.include "tgi-kernel.inc"
_tgi_clear = tgi_clear ; Call the driver

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; void __fastcall__ tgi_done (void);
; void tgi_done (void);
; /* End graphics mode, switch back to text mode. Will NOT unload the driver! */
.include "tgi-kernel.inc"
@@ -17,4 +17,3 @@
@L1: rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 2011-05-01
;
; unsigned __fastcall__ tgi_getaspectratio (void);
; unsigned tgi_getaspectratio (void);
; /* Returns the aspect ratio for the loaded driver. The aspect ratio is an
; * 8.8 fixed point value.
; */
@@ -16,4 +16,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 22.06.2002
;
; unsigned char __fastcall__ tgi_getcolor (void);
; unsigned char tgi_getcolor (void);
; /* Return the current drawing color */

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 22.06.2002
;
; unsigned char __fastcall__ tgi_getcolorcount (void);
; unsigned char tgi_getcolorcount (void);
; /* Get the number of available colors */
.include "tgi-kernel.inc"
@@ -13,4 +13,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 23.06.2002
;
; const unsigned char* __fastcall__ tgi_getdefpalette (void);
; const unsigned char* tgi_getdefpalette (void);
; /* Return the default palette. Will return NULL for drivers that do not
; * support palettes.
; */
@@ -10,5 +10,3 @@
.include "tgi-kernel.inc"
_tgi_getdefpalette = tgi_getdefpalette ; Call the driver

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned char __fastcall__ tgi_geterror (void);
; unsigned char tgi_geterror (void);
; /* Return the error code for the last operation. This will also clear the
; * error.
; */
@@ -22,4 +22,3 @@
@L2: rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 22.06.2002
;
; unsigned char __fastcall__ tgi_getmaxcolor (void);
; unsigned char tgi_getmaxcolor (void);
; /* Return the maximum supported color number (the number of colors would
; * then be getmaxcolor()+1).
; */
@@ -18,4 +18,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getmaxx (void);
; unsigned tgi_getmaxx (void);
; /* Return the maximum x coordinate. The resolution in x direction is
; * getmaxx() + 1
; */
@@ -16,5 +16,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getmaxy (void);
; unsigned tgi_getmaxy (void);
; /* Return the maximum y coordinate. The resolution in y direction is
; * getmaxy() + 1
; */
@@ -15,4 +15,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 23.06.2002
;
; unsigned __fastcall__ tgi_getpagecount (void);
; unsigned tgi_getpagecount (void);
; /* Returns the number of screen pages available. */
;
@@ -14,4 +14,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 23.06.2002
;
; const unsigned char* __fastcall__ tgi_getpalette (void);
; const unsigned char* tgi_getpalette (void);
; /* Return the current palette. Will return NULL for drivers that do not
; * support palettes.
; */
@@ -10,5 +10,3 @@
.include "tgi-kernel.inc"
_tgi_getpalette = tgi_getpalette ; Call the driver

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getxres (void);
; unsigned tgi_getxres (void);
; /* Return the resolution in X direction */
@@ -14,4 +14,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getyres (void);
; unsigned tgi_getyres (void);
; /* Return the resolution in Y direction */
@@ -14,4 +14,3 @@
rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; void __fastcall__ tgi_init (void);
; void tgi_init (void);
; /* Initialize the already loaded graphics driver */
@@ -72,5 +72,3 @@
@L9: rts
.endproc

View File

@@ -1,7 +1,7 @@
;
; Ullrich von Bassewitz, 21.06.2002
;
; void __fastcall__ tgi_unload (void);
; void tgi_unload (void);
; /* Unload the currently loaded driver. */
@@ -32,5 +32,3 @@ no_driver:
lda #<TGI_ERR_NO_DRIVER
sta _tgi_error
rts