summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/conf.c2
-rw-r--r--p11-kit/util.c4
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 ();