comparison vidix/drivers/savage_vid.c @ 19066:26a30496ec96

marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org
author reynaldo
date Thu, 13 Jul 2006 20:59:18 +0000
parents f580a7755ac5
children 59d10ceb72c8
comparison
equal deleted inserted replaced
19065:26ed3fcd5cd4 19066:26a30496ec96
321 { PCI_CHIP_PROSAVAGE_DDR , S3_PROSAVAGE }, 321 { PCI_CHIP_PROSAVAGE_DDR , S3_PROSAVAGE },
322 /*[ProSavageDDR P4M266 K] */ 322 /*[ProSavageDDR P4M266 K] */
323 { PCI_CHIP_PROSAVAGE_DDRK , S3_PROSAVAGE }, 323 { PCI_CHIP_PROSAVAGE_DDRK , S3_PROSAVAGE },
324 }; 324 };
325 325
326 void SavageSetColorOld(void) 326 static void SavageSetColorOld(void)
327 { 327 {
328 328
329 329
330 if( 330 if(
331 (info->format == IMGFMT_RGB15) || 331 (info->format == IMGFMT_RGB15) ||
358 ); 358 );
359 359
360 } 360 }
361 } 361 }
362 362
363 void SavageSetColorKeyOld(void) 363 static void SavageSetColorKeyOld(void)
364 { 364 {
365 int red, green, blue; 365 int red, green, blue;
366 366
367 /* Here, we reset the colorkey and all the controls. */ 367 /* Here, we reset the colorkey and all the controls. */
368 368
526 526
527 527
528 528
529 } 529 }
530 530
531 void SavageInitStreamsOld(void) 531 static void SavageInitStreamsOld(void)
532 { 532 {
533 /*unsigned long jDelta;*/ 533 /*unsigned long jDelta;*/
534 unsigned long format = 0; 534 unsigned long format = 0;
535 535
536 /* 536 /*
724 724
725 printf("screen_x = %d, screen_y = %d, bpp = %d\n",info->screen_x,info->screen_y,info->bpp); 725 printf("screen_x = %d, screen_y = %d, bpp = %d\n",info->screen_x,info->screen_y,info->bpp);
726 } 726 }
727 727
728 728
729 void SavageStreamsOff(void) 729 static void SavageStreamsOff(void)
730 { 730 {
731 unsigned char jStreamsControl; 731 unsigned char jStreamsControl;
732 unsigned short vgaCRIndex = 0x3d0 + 4; 732 unsigned short vgaCRIndex = 0x3d0 + 4;
733 unsigned short vgaCRReg = 0x3d0 + 5; 733 unsigned short vgaCRReg = 0x3d0 + 5;
734 734