summaryrefslogtreecommitdiffstats
path: root/chrome_elf/blacklist/blacklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_elf/blacklist/blacklist.h')
-rw-r--r--chrome_elf/blacklist/blacklist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_elf/blacklist/blacklist.h b/chrome_elf/blacklist/blacklist.h
index 8a06ef0..bbcf068 100644
--- a/chrome_elf/blacklist/blacklist.h
+++ b/chrome_elf/blacklist/blacklist.h
@@ -35,7 +35,7 @@ bool LeaveSetupBeacon();
bool ResetBeacon();
// Return the size of the current blacklist.
-int BlacklistSize();
+extern "C" int BlacklistSize();
// Returns if true if the blacklist has been initialized.
extern "C" bool IsBlacklistInitialized();
@@ -69,7 +69,7 @@ extern "C" void SuccessfullyBlocked(const wchar_t** blocked_dlls, int* size);
extern "C" void AddDllsFromRegistryToBlacklist();
// Record that the dll at the given index was blocked.
-void BlockedDll(size_t blocked_index);
+extern "C" void BlockedDll(size_t blocked_index);
// Initializes the DLL blacklist in the current process. This should be called
// before any undesirable DLLs might be loaded. If |force| is set to true, then