(!1952) xfree86: fbdevhw: make fbdevHWGetRec() static
Not used by any external consumers, only within the same source file, so can become static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									f3de3f669d
								
							
						
					
					
						commit
						fa9ec23054
					
				| 
						 | 
					@ -83,7 +83,7 @@ enum {
 | 
				
			||||||
    FBIOBLANK_UNSUPPORTED = 0,
 | 
					    FBIOBLANK_UNSUPPORTED = 0,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bool
 | 
					static Bool
 | 
				
			||||||
fbdevHWGetRec(ScrnInfoPtr pScrn)
 | 
					fbdevHWGetRec(ScrnInfoPtr pScrn)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    if (fbdevHWPrivateIndex < 0)
 | 
					    if (fbdevHWPrivateIndex < 0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,6 @@
 | 
				
			||||||
#define FBDEVHW_TEXT			3       /* Text/attributes      */
 | 
					#define FBDEVHW_TEXT			3       /* Text/attributes      */
 | 
				
			||||||
#define FBDEVHW_VGA_PLANES		4       /* EGA/VGA planes       */
 | 
					#define FBDEVHW_VGA_PLANES		4       /* EGA/VGA planes       */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
 | 
					 | 
				
			||||||
extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
 | 
					extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);
 | 
					extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,12 +8,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Stubs for the static server on platforms that don't support fbdev */
 | 
					/* Stubs for the static server on platforms that don't support fbdev */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bool
 | 
					 | 
				
			||||||
fbdevHWGetRec(ScrnInfoPtr pScrn)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    return FALSE;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
fbdevHWFreeRec(ScrnInfoPtr pScrn)
 | 
					fbdevHWFreeRec(ScrnInfoPtr pScrn)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue