Diff for /np2/sdl/dosio.c between versions 1.6 and 1.7

version 1.6, 2004/06/20 09:36:37 version 1.7, 2004/06/21 02:01:32
Line 373  void file_catname(char *path, const char Line 373  void file_catname(char *path, const char
         }          }
 }  }
   
 char *file_getname(char *path) {  char *file_getname(const char *path) {
   
         char    *ret;  const char      *ret;
         int             csize;          int             csize;
   
         ret = path;          ret = path;
Line 385  char *file_getname(char *path) { Line 385  char *file_getname(char *path) {
                 }                  }
                 path += csize;                  path += csize;
         }          }
         return(ret);          return((char *)ret);
 }  }
   
 void file_cutname(char *path) {  void file_cutname(char *path) {
Line 396  void file_cutname(char *path) { Line 396  void file_cutname(char *path) {
         *p = '\0';          *p = '\0';
 }  }
   
 char *file_getext(char *path) {  char *file_getext(const char *path) {
   
         char    *p;  const char      *p;
         char    *q;  const char      *q;
   
         p = file_getname(path);          p = file_getname(path);
         q = NULL;          q = NULL;
Line 412  char *file_getext(char *path) { Line 412  char *file_getext(char *path) {
         if (q == NULL) {          if (q == NULL) {
                 q = p;                  q = p;
         }          }
         return(q);          return((char *)q);
 }  }
   
 void file_cutext(char *path) {  void file_cutext(char *path) {

Removed from v.1.6  
changed lines
  Added in v.1.7


RetroPC.NET-CVS <cvs@retropc.net>