diff options
author | Egbert Eich <eich@suse.de> | 2014-04-22 12:21:57 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2014-04-30 17:25:29 +0200 |
commit | f6a2ba02b2ac8c8a8b66902dd3ac5324971a43fe (patch) | |
tree | 6f0fdfeaf5a4e17fc21483bbaf55a807ce38d11a /src/ast_2dtool.h | |
parent | a833ba0b6cd6b6a449ddfed0b4753bc6f8dcb305 (diff) |
Clean up namespace in ast_2dtool.c
- Make local functions static
This sometimes helps the compiler to optimize.
- Make sure exported functions have 'AST' in their name.
This avoids name space conflicts with the server or other drivers.
- Place 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_2dtool.h')
-rw-r--r-- | src/ast_2dtool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast_2dtool.h b/src/ast_2dtool.h index 888bbf2..c3cc54a 100644 --- a/src/ast_2dtool.h +++ b/src/ast_2dtool.h @@ -621,3 +621,5 @@ typedef struct { addr->PKT_SC_dwHeader = (ULONG)(PKT_SINGLE_CMD_HEADER + CMDQREG_LINE_NUMBER); \ addr->PKT_SC_dwData[0] = (ULONG)(no); \ } + +Bool bASTGetLineTerm(_LINEInfo *LineInfo, LINEPARAM *dsLineParam); |