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
70c80fb4
Commit
70c80fb4
authored
Jul 06, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jul 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make functions static to fix -Wmissing-declarations warnings.
parent
50205295
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
paint.c
dlls/riched20/paint.c
+6
-6
wrap.c
dlls/riched20/wrap.c
+6
-6
capability.c
dlls/twain/capability.c
+2
-2
xfont.c
dlls/x11drv/xfont.c
+1
-1
xrandr.c
dlls/x11drv/xrandr.c
+1
-1
No files found.
dlls/riched20/paint.c
View file @
70c80fb4
...
...
@@ -94,7 +94,7 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, RECT *rcUpda
ME_DestroyContext
(
&
c
);
}
void
ME_MarkParagraphRange
(
ME_TextEditor
*
editor
,
ME_DisplayItem
*
p1
,
static
void
ME_MarkParagraphRange
(
ME_TextEditor
*
editor
,
ME_DisplayItem
*
p1
,
ME_DisplayItem
*
p2
,
int
nFlags
)
{
ME_DisplayItem
*
p3
;
...
...
@@ -113,7 +113,7 @@ void ME_MarkParagraphRange(ME_TextEditor *editor, ME_DisplayItem *p1,
}
while
(
p1
!=
p2
);
}
void
ME_MarkOffsetRange
(
ME_TextEditor
*
editor
,
int
from
,
int
to
,
int
nFlags
)
static
void
ME_MarkOffsetRange
(
ME_TextEditor
*
editor
,
int
from
,
int
to
,
int
nFlags
)
{
ME_Cursor
c1
,
c2
;
ME_CursorFromCharOfs
(
editor
,
from
,
&
c1
);
...
...
@@ -122,7 +122,7 @@ void ME_MarkOffsetRange(ME_TextEditor *editor, int from, int to, int nFlags)
ME_MarkParagraphRange
(
editor
,
ME_GetParagraph
(
c1
.
pRun
),
ME_GetParagraph
(
c2
.
pRun
),
nFlags
);
}
void
ME_MarkSelectionForRepaint
(
ME_TextEditor
*
editor
)
static
void
ME_MarkSelectionForRepaint
(
ME_TextEditor
*
editor
)
{
int
from
,
to
,
from2
,
to2
,
end
;
...
...
@@ -173,7 +173,7 @@ void ME_UpdateRepaint(ME_TextEditor *editor)
ME_SendSelChange
(
editor
);
}
void
ME_DrawTextWithStyle
(
ME_Context
*
c
,
int
x
,
int
y
,
LPCWSTR
szText
,
int
nChars
,
static
void
ME_DrawTextWithStyle
(
ME_Context
*
c
,
int
x
,
int
y
,
LPCWSTR
szText
,
int
nChars
,
ME_Style
*
s
,
int
*
width
,
int
nSelFrom
,
int
nSelTo
,
int
ymin
,
int
cy
)
{
HDC
hDC
=
c
->
hDC
;
HGDIOBJ
hOldFont
;
...
...
@@ -214,7 +214,7 @@ void ME_DrawTextWithStyle(ME_Context *c, int x, int y, LPCWSTR szText, int nChar
ME_UnselectStyleFont
(
c
->
editor
,
hDC
,
s
,
hOldFont
);
}
void
ME_DebugWrite
(
HDC
hDC
,
POINT
*
pt
,
WCHAR
*
szText
)
{
static
void
ME_DebugWrite
(
HDC
hDC
,
POINT
*
pt
,
WCHAR
*
szText
)
{
int
align
=
SetTextAlign
(
hDC
,
TA_LEFT
|
TA_TOP
);
HGDIOBJ
hFont
=
SelectObject
(
hDC
,
GetStockObject
(
DEFAULT_GUI_FONT
));
COLORREF
color
=
SetTextColor
(
hDC
,
RGB
(
128
,
128
,
128
));
...
...
@@ -252,7 +252,7 @@ void ME_DrawGraphics(ME_Context *c, int x, int y, ME_Run *run,
}
}
void
ME_DrawRun
(
ME_Context
*
c
,
int
x
,
int
y
,
ME_DisplayItem
*
rundi
,
ME_Paragraph
*
para
)
{
static
void
ME_DrawRun
(
ME_Context
*
c
,
int
x
,
int
y
,
ME_DisplayItem
*
rundi
,
ME_Paragraph
*
para
)
{
ME_Run
*
run
=
&
rundi
->
member
.
run
;
int
runofs
=
run
->
nCharOfs
+
para
->
nCharOfs
;
...
...
dlls/riched20/wrap.c
View file @
70c80fb4
...
...
@@ -42,7 +42,7 @@ ME_DisplayItem *ME_MakeRow(int height, int baseline, int width)
return
item
;
}
void
ME_BeginRow
(
ME_WrapContext
*
wc
)
static
void
ME_BeginRow
(
ME_WrapContext
*
wc
)
{
wc
->
pRowStart
=
NULL
;
wc
->
bOverflown
=
FALSE
;
...
...
@@ -91,7 +91,7 @@ void ME_InsertRowStart(ME_WrapContext *wc, ME_DisplayItem *pEnd)
ME_BeginRow
(
wc
);
}
void
ME_WrapEndParagraph
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
static
void
ME_WrapEndParagraph
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
{
if
(
wc
->
pRowStart
)
ME_InsertRowStart
(
wc
,
p
->
next
);
...
...
@@ -111,7 +111,7 @@ void ME_WrapEndParagraph(ME_WrapContext *wc, ME_DisplayItem *p)
*/
}
void
ME_WrapSizeRun
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
static
void
ME_WrapSizeRun
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
{
/* FIXME compose style (out of character and paragraph styles) here */
...
...
@@ -120,7 +120,7 @@ void ME_WrapSizeRun(ME_WrapContext *wc, ME_DisplayItem *p)
ME_CalcRunExtent
(
wc
->
context
,
&
ME_GetParagraph
(
p
)
->
member
.
para
,
&
p
->
member
.
run
);
}
ME_DisplayItem
*
ME_MaximizeSplit
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
,
int
i
)
static
ME_DisplayItem
*
ME_MaximizeSplit
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
,
int
i
)
{
ME_DisplayItem
*
pp
,
*
piter
=
p
;
int
j
;
...
...
@@ -162,7 +162,7 @@ ME_DisplayItem *ME_MaximizeSplit(ME_WrapContext *wc, ME_DisplayItem *p, int i)
}
}
ME_DisplayItem
*
ME_SplitByBacktracking
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
,
int
loc
)
static
ME_DisplayItem
*
ME_SplitByBacktracking
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
,
int
loc
)
{
ME_DisplayItem
*
piter
=
p
,
*
pp
;
int
i
,
idesp
,
len
;
...
...
@@ -242,7 +242,7 @@ ME_DisplayItem *ME_SplitByBacktracking(ME_WrapContext *wc, ME_DisplayItem *p, in
}
}
ME_DisplayItem
*
ME_WrapHandleRun
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
static
ME_DisplayItem
*
ME_WrapHandleRun
(
ME_WrapContext
*
wc
,
ME_DisplayItem
*
p
)
{
ME_DisplayItem
*
pp
;
ME_Run
*
run
;
...
...
dlls/twain/capability.c
View file @
70c80fb4
...
...
@@ -175,7 +175,7 @@ TW_UINT16 TWAIN_SaneCapability (activeDS *pSource, pTW_CAPABILITY pCapability,
return
twCC
;
}
TW_BOOL
TWAIN_OneValueSet
(
pTW_CAPABILITY
pCapability
,
TW_UINT32
value
)
static
TW_BOOL
TWAIN_OneValueSet
(
pTW_CAPABILITY
pCapability
,
TW_UINT32
value
)
{
pCapability
->
hContainer
=
(
TW_HANDLE
)
GlobalAlloc
(
0
,
sizeof
(
TW_ONEVALUE
));
...
...
@@ -191,7 +191,7 @@ TW_BOOL TWAIN_OneValueSet (pTW_CAPABILITY pCapability, TW_UINT32 value)
return
FALSE
;
}
TW_BOOL
TWAIN_OneValueGet
(
pTW_CAPABILITY
pCapability
,
TW_UINT32
*
pValue
)
static
TW_BOOL
TWAIN_OneValueGet
(
pTW_CAPABILITY
pCapability
,
TW_UINT32
*
pValue
)
{
pTW_ONEVALUE
pVal
=
GlobalLock
((
HGLOBAL
)
pCapability
->
hContainer
);
...
...
dlls/x11drv/xfont.c
View file @
70c80fb4
...
...
@@ -2870,7 +2870,7 @@ static int XFONT_ReleaseCacheEntry(const fontObject* pfo)
*
* Initialize font resource list and allocate font cache.
*/
void
X11DRV_FONT_InitX11Metrics
(
void
)
static
void
X11DRV_FONT_InitX11Metrics
(
void
)
{
char
**
x_pattern
;
unsigned
x_checksum
;
...
...
dlls/x11drv/xrandr.c
View file @
70c80fb4
...
...
@@ -82,7 +82,7 @@ static unsigned int real_xrandr_sizes_count;
static
int
*
real_xrandr_rates_count
;
static
unsigned
int
real_xrandr_modes_count
;
int
load_xrandr
(
void
)
static
int
load_xrandr
(
void
)
{
int
r
=
0
;
...
...
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