src/video/ipod/SDL_ipodvideo.c
changeset 1336 3692456e7b0f
parent 1140 af8b0f9ac2f4
child 1338 604d73db6802
     1.1 --- a/src/video/ipod/SDL_ipodvideo.c	Mon Feb 06 17:28:04 2006 +0000
     1.2 +++ b/src/video/ipod/SDL_ipodvideo.c	Tue Feb 07 06:59:48 2006 +0000
     1.3 @@ -65,7 +65,7 @@
     1.4      
     1.5      if ((file = fopen("/proc/cpuinfo", "r")) != NULL) {
     1.6  	while (fgets(cpuinfo, sizeof(cpuinfo), file) != NULL)
     1.7 -	    if (strncmp(cpuinfo, "Revision", 8) == 0)
     1.8 +	    if (SDL_strncmp(cpuinfo, "Revision", 8) == 0)
     1.9  		break;
    1.10  	fclose(file);
    1.11      }
    1.12 @@ -73,7 +73,7 @@
    1.13      for (; isspace(cpuinfo[i]); i++);
    1.14      ptr = cpuinfo + i + 2;
    1.15      
    1.16 -    return strtol(ptr, NULL, 10);
    1.17 +    return SDL_strtol(ptr, NULL, 10);
    1.18  }
    1.19  
    1.20  static int iPod_Available()