summaryrefslogtreecommitdiff
path: root/src/ast_driver.c
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_driver.c
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_driver.c')
-rw-r--r--src/ast_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 4fc8b28..8e3a814 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -63,8 +63,6 @@ extern Bool ASTUnmapMem(ScrnInfoPtr pScrn);
extern Bool ASTMapMMIO(ScrnInfoPtr pScrn);
extern void ASTUnmapMMIO(ScrnInfoPtr pScrn);
-extern Bool ASTSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode);
-
#ifdef HAVE_XAA_H
extern Bool ASTAccelInit(ScreenPtr pScreen);
#endif