[PATCH:xf86-video-ast 1/3] Move an extern declaration into the scope it is used.

Thomas Klausner wiz at NetBSD.org
Fri Mar 21 15:43:42 PDT 2014


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/ast_accel.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ast_accel.c b/src/ast_accel.c
index 71eeb79..52e19e3 100644
--- a/src/ast_accel.c
+++ b/src/ast_accel.c
@@ -54,6 +54,8 @@
 /* Driver specific headers */
 #include "ast.h"
 
+extern UCHAR *pjRequestCMDQ(ASTRecPtr pAST, ULONG ulDataLen);
+
 #ifdef	Accel_2D
 
 #ifdef HAVE_XAA_H
@@ -100,7 +102,6 @@ int ASTXAAPatternROP[16]=
 
 /* extern function */
 extern void vWaitEngIdle(ScrnInfoPtr pScrn, ASTRecPtr pAST);
-extern UCHAR *pjRequestCMDQ(ASTRecPtr pAST, ULONG ulDataLen);
 extern Bool bGetLineTerm(_LINEInfo *LineInfo, LINEPARAM *dsLineParam);
 
 /* Prototype type declaration */
-- 
1.9.0



More information about the xorg-devel mailing list