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
0590fe2e
Commit
0590fe2e
authored
Nov 06, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make some variables static.
parent
26b182fd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
security.c
dlls/advapi32/security.c
+1
-1
credui_main.c
dlls/credui/credui_main.c
+1
-1
msi_main.c
dlls/msi/msi_main.c
+3
-2
mpi.c
dlls/rsaenh/mpi.c
+4
-1
tomcrypt.h
dlls/rsaenh/tomcrypt.h
+0
-3
No files found.
dlls/advapi32/security.c
View file @
0590fe2e
...
...
@@ -137,7 +137,7 @@ typedef struct WELLKOWNRID
DWORD
Rid
;
}
WELLKNOWNRID
;
WELLKNOWNRID
WellKnownRids
[]
=
{
static
const
WELLKNOWNRID
WellKnownRids
[]
=
{
{
WinAccountAdministratorSid
,
DOMAIN_USER_RID_ADMIN
},
{
WinAccountGuestSid
,
DOMAIN_USER_RID_GUEST
},
{
WinAccountKrbtgtSid
,
DOMAIN_USER_RID_KRBTGT
},
...
...
dlls/credui/credui_main.c
View file @
0590fe2e
...
...
@@ -45,7 +45,7 @@ struct pending_credentials
static
HINSTANCE
hinstCredUI
;
struct
list
pending_credentials_list
=
LIST_INIT
(
pending_credentials_list
);
st
atic
st
ruct
list
pending_credentials_list
=
LIST_INIT
(
pending_credentials_list
);
static
CRITICAL_SECTION
csPendingCredentials
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
...
...
dlls/msi/msi_main.c
View file @
0590fe2e
...
...
@@ -44,10 +44,11 @@ INSTALLUI_HANDLERW gUIHandlerW = NULL;
DWORD
gUIFilter
=
0
;
LPVOID
gUIContext
=
NULL
;
WCHAR
gszLogFile
[
MAX_PATH
];
WCHAR
msi_path
[
MAX_PATH
];
ITypeLib
*
msi_typelib
=
NULL
;
HINSTANCE
msi_hInstance
;
static
WCHAR
msi_path
[
MAX_PATH
];
static
ITypeLib
*
msi_typelib
;
/*
* Dll lifetime tracking declaration
*/
...
...
dlls/rsaenh/mpi.c
View file @
0590fe2e
...
...
@@ -31,6 +31,9 @@
#include <stdarg.h>
#include "tomcrypt.h"
/* table of first PRIME_SIZE primes */
static
const
mp_digit
__prime_tab
[];
/* Known optimal configurations
CPU /Compiler /MUL CUTOFF/SQR CUTOFF
-------------------------------------------------------------
...
...
@@ -3808,7 +3811,7 @@ mp_zero (mp_int * a)
memset
(
a
->
dp
,
0
,
sizeof
(
mp_digit
)
*
a
->
alloc
);
}
const
mp_digit
__prime_tab
[]
=
{
static
const
mp_digit
__prime_tab
[]
=
{
0x0002
,
0x0003
,
0x0005
,
0x0007
,
0x000B
,
0x000D
,
0x0011
,
0x0013
,
0x0017
,
0x001D
,
0x001F
,
0x0025
,
0x0029
,
0x002B
,
0x002F
,
0x0035
,
0x003B
,
0x003D
,
0x0043
,
0x0047
,
0x0049
,
0x004F
,
0x0053
,
0x0059
,
...
...
dlls/rsaenh/tomcrypt.h
View file @
0590fe2e
...
...
@@ -473,9 +473,6 @@ int mp_exptmod(const mp_int *a, const mp_int *b, mp_int *c, mp_int *d);
/* number of primes */
#define PRIME_SIZE 256
/* table of first PRIME_SIZE primes */
extern
const
mp_digit
__prime_tab
[];
/* result=1 if a is divisible by one of the first PRIME_SIZE primes */
int
mp_prime_is_divisible
(
const
mp_int
*
a
,
int
*
result
);
...
...
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