src/cpuinfo/SDL_cpuinfo.c
changeset 5120 b3f075368b1f
parent 5115 427998ff3bcf
child 5259 6a65c1fc07af
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 27 20:37:54 2011 -0800
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 27 20:46:45 2011 -0800
     1.3 @@ -304,7 +304,7 @@
     1.4  static int SDL_CPUCount = 0;
     1.5  
     1.6  int
     1.7 -SDL_GetCPUCount()
     1.8 +SDL_GetCPUCount(void)
     1.9  {
    1.10      if (!SDL_CPUCount) {
    1.11  #if defined(HAVE_SYSCONF) && defined(_SC_NPROCESSORS_ONLN)
    1.12 @@ -335,7 +335,7 @@
    1.13  
    1.14  /* Oh, such a sweet sweet trick, just not very useful. :) */
    1.15  static const char *
    1.16 -SDL_GetCPUType()
    1.17 +SDL_GetCPUType(void)
    1.18  {
    1.19      static char SDL_CPUType[13];
    1.20  
    1.21 @@ -366,7 +366,7 @@
    1.22  }
    1.23  
    1.24  static const char *
    1.25 -SDL_GetCPUName()
    1.26 +SDL_GetCPUName(void)
    1.27  {
    1.28      static char SDL_CPUName[48];
    1.29  
    1.30 @@ -437,8 +437,8 @@
    1.31      return SDL_CPUName;
    1.32  }
    1.33  
    1.34 -static int
    1.35 -SDL_GetCPUCacheLineSize()
    1.36 +int
    1.37 +SDL_GetCPUCacheLineSize(void)
    1.38  {
    1.39      const char *cpuType = SDL_GetCPUType();
    1.40