diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-03 10:00:23 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-03 10:07:14 +0100 |
commit | bee435e09111f43dcc406160e9c9bdd8645fc86c (patch) | |
tree | 8ca133400350ede433cb110fef632a7905bf4129 /p11-kit | |
parent | 61e0cb5dddb89ddab1d68791eb28d892c114622f (diff) |
Fix syntax errors in OS_WIN32 ifdefs
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/conf.c | 2 | ||||
-rw-r--r-- | p11-kit/util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/p11-kit/conf.c b/p11-kit/conf.c index 778ea00..894566a 100644 --- a/p11-kit/conf.c +++ b/p11-kit/conf.c @@ -316,7 +316,7 @@ expand_user_path (const char *path) char directory[MAX_PATH + 1]; if (!SHGetSpecialFolderPathA (NULL, directory, CSIDL_PROFILE, TRUE)) { - _p11_message ("couldn't lookup home directory for user"); + p11_message ("couldn't lookup home directory for user"); errno = ENOTDIR; return NULL; } diff --git a/p11-kit/util.c b/p11-kit/util.c index 95190c5..a7b3c25 100644 --- a/p11-kit/util.c +++ b/p11-kit/util.c @@ -260,13 +260,13 @@ p11_kit_fini (void) #ifdef OS_WIN32 +BOOL WINAPI DllMain (HINSTANCE, DWORD, LPVOID); + BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID reserved) { - LPVOID data; - switch (reason) { case DLL_PROCESS_ATTACH: p11_library_init (); |