diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-16 02:16:43 -0300 |
---|---|---|
committer | Y.C. Chen <yc_chen@aspeedtech.com> | 2008-03-18 18:54:03 +0800 |
commit | 33cc790b35f2ad19ea68867d6a089f7b827f8334 (patch) | |
tree | 4158a54142d945e599bf98088a6c8dc7c09c78a4 /src/ast_2dtool.c | |
parent | 88944bd72555056c10dfcf87eb1a98c9ecf704bc (diff) |
Compile warning fixes.
Declare ulGetCMDQLength as static, and don't declare a variable if
XSERVER_LIBPCIACCESS is defined.
There is a lot of prototypes defined in some c files, that would be
better to be moved to the appropriate header, to make sure definition
matches prototype, but not done for now.
Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Diffstat (limited to 'src/ast_2dtool.c')
-rw-r--r-- | src/ast_2dtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_2dtool.c b/src/ast_2dtool.c index afbac7c..a8b5838 100644 --- a/src/ast_2dtool.c +++ b/src/ast_2dtool.c @@ -254,7 +254,7 @@ Exit_vWaitEngIdle: } /* ULONG ulGetCMDQLength() */ -__inline ULONG ulGetCMDQLength(ASTRecPtr pAST, ULONG ulWritePointer, ULONG ulCMDQMask) +static __inline ULONG ulGetCMDQLength(ASTRecPtr pAST, ULONG ulWritePointer, ULONG ulCMDQMask) { ULONG ulReadPointer, ulReadPointer2; |