]> git.sur5r.net Git - cc65/commitdiff
Change calling convention of cbm_save() to __fastcall__.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 4 Jun 2010 10:25:53 +0000 (10:25 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 4 Jun 2010 10:25:53 +0000 (10:25 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/cbm.h
libsrc/cbm/cbm_save.c

index 6ba1ef47e12a02fa8708efb3a217d9fada5a2ce1..e45ce117509147a0b24bc340e9ace705c9b39f2a 100644 (file)
@@ -219,8 +219,10 @@ unsigned int cbm_load (const char* name, unsigned char device, void* data);
  * otherwise 0. "_oserror" contains an errorcode then (see table below).
  */
 
-unsigned char cbm_save (const char* name, unsigned char device,
-                        const void* data, unsigned int size);
+unsigned char __fastcall__ cbm_save (const char* name, 
+                                     unsigned char device,
+                                     const void* data, 
+                                     unsigned int size);
 /* Saves "size" bytes starting at "data" to a file.
  * Returns 0 if saving was successful, otherwise an errorcode (see table
  * below).
index 8d74fc8093d371d113fc2202c01ddc51535eae5b..b88eed4eec9881e28b6dd199fcdb95cca7bd77e2 100644 (file)
 
 /* saves a memory area from start to end-1 to a file.
  */
-unsigned char cbm_save(const char* name, unsigned char device,
-                       const void* data, unsigned int size)
+unsigned char __fastcall__ cbm_save (const char* name, 
+                                     unsigned char device,
+                                     const void* data, 
+                                     unsigned int size)
 {
     cbm_k_setlfs(0, device, 0);
     cbm_k_setnam(name);