diff options
author | Egbert Eich <eich@suse.de> | 2014-04-22 13:57:25 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2014-04-30 17:27:03 +0200 |
commit | a70eac7e6e5b23fa5cc140c29880a4abdf54adeb (patch) | |
tree | 36b7550d53152308a7460187f203096c5c89e452 /src/ast.h | |
parent | 28f815fe8b56138f32a98e3712b61e930b5e892e (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |