comparison src/video/fbcon/SDL_fbvideo.c @ 2120:2c835d58faad

make indent
author Sam Lantinga <slouken@libsdl.org>
date Thu, 14 Jun 2007 13:21:29 +0000
parents 87256df87837
children e27bdcc80744 204be4fc2726
comparison
equal deleted inserted replaced
2119:9341a884a4d9 2120:2c835d58faad
179 /* Internal palette functions */ 179 /* Internal palette functions */
180 static void FB_SavePalette(_THIS, struct fb_fix_screeninfo *finfo, 180 static void FB_SavePalette(_THIS, struct fb_fix_screeninfo *finfo,
181 struct fb_var_screeninfo *vinfo); 181 struct fb_var_screeninfo *vinfo);
182 static void FB_RestorePalette(_THIS); 182 static void FB_RestorePalette(_THIS);
183 183
184 static int SDL_getpagesize(void) 184 static int
185 SDL_getpagesize(void)
185 { 186 {
186 #ifdef HAVE_GETPAGESIZE 187 #ifdef HAVE_GETPAGESIZE
187 return getpagesize(); 188 return getpagesize();
188 #elif defined(PAGE_SIZE) 189 #elif defined(PAGE_SIZE)
189 return PAGE_SIZE; 190 return PAGE_SIZE;
190 #else 191 #else
191 #error Can not determine system page size. 192 #error Can not determine system page size.
192 return 4096; /* this is what it USED to be in Linux... */ 193 /* this is what it USED to be in Linux... */
194 return 4096;
193 #endif 195 #endif
194 } 196 }
195 197
196 198
197 /* Small wrapper for mmap() so we can play nicely with no-mmu hosts 199 /* Small wrapper for mmap() so we can play nicely with no-mmu hosts