summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingInternal.h
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-08-31 15:51:23 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-08-31 15:51:23 +0000
commit907e59854ac144ef0760d4c40ca3359481d511a1 (patch)
tree9b6d05a71bad455288e18b0cd45b72491afa516d /lib/profile/InstrProfilingInternal.h
parent72a53283924a94115e513ffdf7a11582b60bf4b1 (diff)
Revert r312240
The buildbots have shown that -Wstrict-prototypes behaves differently in GCC and Clang so we should keep it disabled until Clang follows GCC's behaviour git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingInternal.h')
-rw-r--r--lib/profile/InstrProfilingInternal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/profile/InstrProfilingInternal.h b/lib/profile/InstrProfilingInternal.h
index 18783a768..36490ef7d 100644
--- a/lib/profile/InstrProfilingInternal.h
+++ b/lib/profile/InstrProfilingInternal.h
@@ -155,27 +155,27 @@ int lprofWriteDataImpl(ProfDataWriter *Writer,
void lprofMergeValueProfData(struct ValueProfData *SrcValueProfData,
__llvm_profile_data *DstData);
-VPDataReaderType *lprofGetVPDataReader(void);
+VPDataReaderType *lprofGetVPDataReader();
/* Internal interface used by test to reset the max number of
* tracked values per value site to be \p MaxVals.
*/
void lprofSetMaxValsPerSite(uint32_t MaxVals);
-void lprofSetupValueProfiler(void);
+void lprofSetupValueProfiler();
/* Return the profile header 'signature' value associated with the current
* executable or shared library. The signature value can be used to for
* a profile name that is unique to this load module so that it does not
* collide with profiles from other binaries. It also allows shared libraries
* to dump merged profile data into its own profile file. */
-uint64_t lprofGetLoadModuleSignature(void);
+uint64_t lprofGetLoadModuleSignature();
/*
* Return non zero value if the profile data has already been
* dumped to the file.
*/
-unsigned lprofProfileDumped(void);
-void lprofSetProfileDumped(void);
+unsigned lprofProfileDumped();
+void lprofSetProfileDumped();
COMPILER_RT_VISIBILITY extern void (*FreeHook)(void *);
COMPILER_RT_VISIBILITY extern uint8_t *DynamicBufferIOBuffer;