summaryrefslogtreecommitdiff
path: root/src/ast_driver.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2014-04-22 14:09:10 +0200
committerEgbert Eich <eich@freedesktop.org>2014-04-30 17:27:14 +0200
commit8fb9e1008473bc91b036dba5e9fb85f12bad7753 (patch)
tree9dd575bd619f705b33bca84f52969a8cde7688a8 /src/ast_driver.c
parent00fa895306c14bc320c9eb47368b20e6738ba430 (diff)
Clean up namespace in ast_tool.c
- 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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 3d3f01a..863e590 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -57,12 +57,6 @@
/* Driver specific headers */
#include "ast.h"
-/* external reference fucntion */
-extern Bool ASTMapMem(ScrnInfoPtr pScrn);
-extern Bool ASTUnmapMem(ScrnInfoPtr pScrn);
-extern Bool ASTMapMMIO(ScrnInfoPtr pScrn);
-extern void ASTUnmapMMIO(ScrnInfoPtr pScrn);
-
/* Mandatory functions */
static void ASTIdentify(int flags);
const OptionInfoRec *ASTAvailableOptions(int chipid, int busid);