From: uz Date: Sun, 4 Mar 2012 13:08:54 +0000 (+0000) Subject: Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the X-Git-Tag: V2.14~490 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=285aaf8933f8f46a200d509279967eaa668bbc9f;p=cc65 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 --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 45a282d9e..a0759c5c6 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -728,7 +728,7 @@ allocation functions, or that has been free'd will give unpredicable results. / -/. / -/, /, @@ -2015,7 +2015,7 @@ loaded. / - @@ -2036,7 +2036,7 @@ by the driver in 256 byte pages. / - @@ -2044,8 +2044,6 @@ driver but doesn't remove it from memory. name="em_load_driver">/, / should be used instead of The function is only available as fastcall function, so it may only be -used in presence of a prototype. / - @@ -3008,7 +3006,7 @@ used in presence of a prototype. / - @@ -3016,8 +3014,6 @@ by the current joystick driver. name="joy_load_driver"> before calling this function. The function returns the number of joysticks supported by the driver. There's no way to check for the number of actually connected joysticks. -The function is only available as fastcall function, so it may only be -used in presence of a prototype. / - A joystick driver must be installed using before calling this function. -The function is only available as fastcall function, so it may only be -used in presence of a prototype. / - A joystick driver must be loaded using before calling this function. -The function is only available as fastcall function, so it may only be -used in presence of a prototype. / - -The function is only available as fastcall function, so it may only be -used in presence of a prototype. - , @@ -3588,16 +3576,12 @@ used in presence of a prototype. / -/ and / to make the mouse cursor visible. - -The function is only available as fastcall function, so it may only be -used in presence of a prototype. - @@ -3777,15 +3761,11 @@ used in presence of a prototype. / -/ and /. - -The function is only available as fastcall function, so it may only be -used in presence of a prototype. - @@ -3800,7 +3780,7 @@ used in presence of a prototype. / - @@ -3808,8 +3788,6 @@ don't removes it from memory. name="mouse_load_driver">/, / should be used instead of The function is only available as fastcall function, so it may only be -used in presence of a prototype. / - -The function is only available as fastcall function, so it may only -be used in presence of a prototype. - ; Cleanup by Ullrich von Bassewitz ; -; void __fastcall__ waitvblank(void); +; void waitvblank(void); ; .export _waitvblank @@ -16,5 +16,3 @@ wait: lda PPU_STATUS rts .endproc - - diff --git a/libsrc/pet/get_tv.s b/libsrc/pet/get_tv.s index 07e1fccad..8ac4377dc 100644 --- a/libsrc/pet/get_tv.s +++ b/libsrc/pet/get_tv.s @@ -1,7 +1,7 @@ ; ; Ullrich von Bassewitz, 2004-10-26 ; -; unsigned char __fastcall__ get_tv (void); +; unsigned char get_tv (void); ; /* Return the video mode the machine is using */ ; @@ -18,5 +18,3 @@ rts .endproc - - diff --git a/libsrc/plus4/get_tv.s b/libsrc/plus4/get_tv.s index 84f09b12c..fb696020f 100644 --- a/libsrc/plus4/get_tv.s +++ b/libsrc/plus4/get_tv.s @@ -1,7 +1,7 @@ ; ; Ullrich von Bassewitz, 2002-12-03 ; -; unsigned char __fastcall__ get_tv (void); +; unsigned char get_tv (void); ; /* Return the video mode the machine is using */ ; @@ -23,5 +23,3 @@ pal: txa rts .endproc - - diff --git a/libsrc/serial/ser-kernel.s b/libsrc/serial/ser-kernel.s index d666e9452..d96f8306a 100644 --- a/libsrc/serial/ser-kernel.s +++ b/libsrc/serial/ser-kernel.s @@ -92,7 +92,7 @@ copy: lda (ptr1),y rts ;---------------------------------------------------------------------------- -; unsigned char __fastcall__ ser_uninstall (void); +; unsigned char ser_uninstall (void); ; /* Uninstall the currently loaded driver and return an error code. ; * Note: This call does not free allocated memory. ; */ @@ -110,4 +110,3 @@ _ser_clear_ptr: ; External entry point tax rts ; Return zero - diff --git a/libsrc/serial/ser_close.s b/libsrc/serial/ser_close.s index b49419a49..0fcc24c60 100644 --- a/libsrc/serial/ser_close.s +++ b/libsrc/serial/ser_close.s @@ -1,12 +1,10 @@ ; ; Ullrich von Bassewitz, 2003-08-22 ; -; unsigned char __fastcall__ ser_close (void); +; unsigned char ser_close (void); ; /* "Close" the port. Clear buffers and and disable interrupts. */ .include "ser-kernel.inc" _ser_close = ser_close - - diff --git a/libsrc/serial/ser_unload.s b/libsrc/serial/ser_unload.s index 325c3d667..c97a4b3d3 100644 --- a/libsrc/serial/ser_unload.s +++ b/libsrc/serial/ser_unload.s @@ -1,7 +1,7 @@ ; ; Ullrich von Bassewitz, 2003-04-15 ; -; unsigned char __fastcall__ ser_unload (void); +; unsigned char ser_unload (void); ; /* Unload the currently loaded driver. */ @@ -35,4 +35,3 @@ no_driver: pla ; Remove pushed junk lda #