summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2014-04-22 13:57:25 +0200
committerEgbert Eich <eich@freedesktop.org>2014-04-30 17:27:03 +0200
commita70eac7e6e5b23fa5cc140c29880a4abdf54adeb (patch)
tree36b7550d53152308a7460187f203096c5c89e452 /src/ast.h
parent28f815fe8b56138f32a98e3712b61e930b5e892e (diff)
Clean up namespace in ast_mode.c
- Make local functions static This sometimes helps the compiler to optimize. - Made sure exported functions have 'AST' in their name. This avoids name space conflicts with the server or other drivers. - Placed declaration of exported functions in a header file. This ensures that changes to the function type or arguments are followed thru everywhere. Signed-off-by: Egbert Eich <eich@suse.de> Acked-by: Y.C. Chen <yc_chen@aspeedtech.com>
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 707149e..89971d3 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -342,6 +342,9 @@ Bool bASTInitHWC(ScrnInfoPtr pScrn, ASTRecPtr pAST);
void ASTDisableHWC(ScrnInfoPtr pScrn);
#endif
+/* ast_mode.c */
+Bool ASTSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode);
+
/* Include Files */
#include "ast_mode.h"
#include "ast_vgatool.h"