Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5a2a9144
Commit
5a2a9144
authored
Dec 02, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Make some functions static.
parent
e78ea286
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
13 deletions
+4
-13
capability.c
dlls/sane.ds/capability.c
+3
-1
sane_i.h
dlls/sane.ds/sane_i.h
+0
-11
sane_main.c
dlls/sane.ds/sane_main.c
+1
-1
No files found.
dlls/sane.ds/capability.c
View file @
5a2a9144
...
...
@@ -31,6 +31,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
twain
);
static
TW_UINT16
SANE_ICAPXferMech
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
);
TW_UINT16
SANE_SaneCapability
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
)
{
TW_UINT16
twCC
=
TWCC_SUCCESS
;
...
...
@@ -205,7 +207,7 @@ static TW_BOOL TWAIN_OneValueGet (pTW_CAPABILITY pCapability, TW_UINT32 *pValue)
}
/* ICAP_XFERMECH */
TW_UINT16
SANE_ICAPXferMech
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
)
static
TW_UINT16
SANE_ICAPXferMech
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
)
{
TRACE
(
"ICAP_XFERMECH
\n
"
);
...
...
dlls/sane.ds/sane_i.h
View file @
5a2a9144
...
...
@@ -77,14 +77,6 @@ struct tagActiveDS
/* Helper functions */
extern
TW_UINT16
SANE_SaneCapability
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
);
/* */
extern
TW_UINT16
SANE_ControlGroupHandler
(
pTW_IDENTITY
pOrigin
,
TW_UINT16
DAT
,
TW_UINT16
MSG
,
TW_MEMREF
pData
);
extern
TW_UINT16
SANE_ImageGroupHandler
(
pTW_IDENTITY
pOrigin
,
TW_UINT16
DAT
,
TW_UINT16
MSG
,
TW_MEMREF
pData
);
extern
TW_UINT16
SANE_SourceManagerHandler
(
pTW_IDENTITY
pOrigin
,
TW_UINT16
DAT
,
TW_UINT16
MSG
,
TW_MEMREF
pData
);
/* Implementation of operation triplets
* From Application to Source (Control Information) */
TW_UINT16
SANE_CapabilityGet
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
...
...
@@ -214,9 +206,6 @@ TW_UINT16 SANE_RGBResponseReset
TW_UINT16
SANE_RGBResponseSet
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
/* Implementation of TWAIN capabilities */
TW_UINT16
SANE_ICAPXferMech
(
pTW_CAPABILITY
pCapability
,
TW_UINT16
action
);
/* UI function */
BOOL
DoScannerUI
(
void
);
HWND
ScanningDialogBox
(
HWND
dialog
,
LONG
progress
);
...
...
dlls/sane.ds/sane_main.c
View file @
5a2a9144
...
...
@@ -372,7 +372,7 @@ static TW_UINT16 SANE_SourceControlHandler (
}
TW_UINT16
SANE_ImageGroupHandler
(
static
TW_UINT16
SANE_ImageGroupHandler
(
pTW_IDENTITY
pOrigin
,
TW_UINT16
DAT
,
TW_UINT16
MSG
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment